This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-07
Channels
- # aleph (1)
- # beginners (152)
- # cider (26)
- # clara (2)
- # cljs-dev (13)
- # cljsrn (5)
- # clojure (198)
- # clojure-greece (15)
- # clojure-italy (39)
- # clojure-sanfrancisco (3)
- # clojure-spec (28)
- # clojure-uk (16)
- # clojurescript (52)
- # community-development (15)
- # core-async (26)
- # cursive (42)
- # data-science (28)
- # datomic (19)
- # devops (7)
- # duct (11)
- # emacs (24)
- # fulcro (22)
- # garden (4)
- # leiningen (12)
- # luminus (1)
- # mount (5)
- # off-topic (106)
- # om (5)
- # onyx (10)
- # parinfer (37)
- # re-frame (17)
- # reagent (47)
- # shadow-cljs (36)
- # yada (2)
Are goog-defines supported for simple and/or whitespace? I remember they weren’t with the initial impl
@martinklepsch IIRC they didn't work properly in :none
but always worked for everything else
@thheller After a bit more discussion elsewhere I think they should work for none, simple + advanced but never work for whitespace
that seems like a bug then. definitely no reason they shouldn't work in whitespace mode
@thheller AFAIK whitespace == no closure at all. I believe thats the reason why it’s not supported
@martinklepsch Didn't you submit a patch for this? https://dev.clojure.org/jira/browse/CLJS-1389
@rauh looks like it 😄
It’s been a while though 🙂 I have vague memory of discussing with @dnolen that not supporting whitespace was fine/ok for some reason.
from the ticket I gather that CLOSURE_UNCOMPILED_DEFINES
is used. :whitespace
is a compiled mode so CLOSURE_DEFINES
should be used?
hmm looks like they are only emitted for :none
and :whitespace
is setting them via the closure compiler api