Aha! Thanks to you both, David and Thomas! :optimizations :none

Jamie

On May 4, 2015, at 6:48 PM, David Nolen <[email protected]> wrote:

> Fixed the wiki. :closure-defines currently only work under a compilation 
> mode, i.e. a higher setting than :none.
> 
> David
> 
> On Mon, May 4, 2015 at 6:40 PM, Jamie Orchard-Hays <[email protected]> wrote:
> Cheers, David. Doubly confused now. The example at 
> https://github.com/clojure/clojurescript/wiki/Compiler-Options has the colon 
> prefix (:goog.DEBUG). In any case, removing the colon had no effect. 
> 
> Jamie
> 
> On May 4, 2015, at 6:16 PM, David Nolen <[email protected]> wrote:
> 
>> Should be "goog.DEBUG" not :goog.DEBUG.
>> 
>> David
>> 
>> On Mon, May 4, 2015 at 6:13 PM, Jamie Orchard-Hays <[email protected]> 
>> wrote:
>> Can't figure out what I'm doing wrong here:
>> 
>> project.clj:
>> 
>> {:compiler
>>   :closure-defines {:goog.DEBUG false}...}
>> 
>> But in my app, it evaluates true.
>> 
>> (println "js/goog.DEBUG: " ^boolean js/goog.DEBUG)
>> => true
>> 
>> org.clojure/clojurescript "0.0-3126"
>> lein-cljsbuild "1.0.5"
>> 
>> --
>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/clojurescript.
>> 
>> 
>> -- 
>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/clojurescript.
> 
> 
> -- 
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/clojurescript.
> 
> 
> -- 
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/clojurescript.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to