Re: ClojureScript & Three.js

2012-12-04 Thread Graham MacDonald
Thanks! On Tuesday, 4 December 2012 11:45:20 UTC, Jonathan Fischer Friberg wrote: > > I usually never care about bringing external libs into the closure system. > Instead, I would do this: > > HTML: > > > Clojurescript: > (def THREE js/THREE) > > Of course, this places it outside closure, and won

Re: ClojureScript & Three.js

2012-12-04 Thread Jonathan Fischer Friberg
I usually never care about bringing external libs into the closure system. Instead, I would do this: HTML: Clojurescript: (def THREE js/THREE) Of course, this places it outside closure, and wont be compiled with the closure compiler. I don't think this matters much (in most cases anyway). Becau

ClojureScript & Three.js

2012-12-04 Thread Graham MacDonald
Hi I'm trying to create a cljs project which uses Three.js. I found a snippet of code here (though I have no idea if it works or not...) I understand I need to reference three.js as an extern or a foreign lib, but I've been unable to get it working successful