3 ms·
sure there are many ways to make foreign lib works. I use externs.js to stop google closure compiler from changing my var names. but if clojurescript could mak
by leishulang 13y ago
sure there are many ways to make foreign lib works. I use externs.js to stop google closure compiler from changing my var names.
but if clojurescript could make this kind of "hacks" integrated: i.e allow (:use [js/Foreign_lib :only lib.method]) instead of externs.js, then it will be way easier to attract newcomers.
I agree that using google closure will save a lot of work, for now. But I also think that clojure guys should come up with their own(and better) compiler that has awesome compiled asm.js code as killer feature.