It works for ClojureScript originated Closure Defines, not Google Closure
originated ones. Happy to take a patch that solves the general case.

David

On Tue, May 5, 2015 at 10:47 AM, Thomas Heller <[email protected]> wrote:

> http://dev.clojure.org/jira/browse/CLJS-1014
> makes me think that defines should work in :none, not sure why they don't.
>
> If you want to use Closure defines in :none while developing you can put
> them into your HTML manually before including the javascript (or use
> shadow-build).
>
> For standard CLJS just do:
>
> <script>var CLOSURE_DEFINES = {"goog.DEBUG":false};</script>
> <script src="/js/goog/base.js"></script>
> ...
>
> --
> 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