Hey,

didn't try to reproduce with your example, but I know the cause. ;)

http://dev.clojure.org/jira/browse/CLJS-826

goog is undefined cause the third party goog/base.js is used which just contains

// This is a dummy file to trick genjsdeps into doing the right thing.
// TODO(nicksantos): fix this

:optimizations :whitespace removes that comment the you end up with no trace of 
it. I have the same issue with my shadow-build library, no idea why this 
doesn't effect every cljsbuild build.

I have a workarround but I don't think it works with cljsbuild, basically you 
just run

https://gist.github.com/thheller/7803321

which downloads closure from git and puts it into a js-closure directory. You 
just then add that to your source-paths.

HTH,
/thomas

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to