Oops should be:
(def ^{:jsdoc ["@define {boolean}"]}
APP_DEBUG true)
David
On Sun, Aug 2, 2015 at 9:14 AM, David Nolen <[email protected]> wrote:
> You want to use :jsdoc metadata.
>
> (def ^:jsdoc ["@define {boolean}"]
> APP_DEBUG true)
>
> HTH,
> David
>
> On Sun, Aug 2, 2015 at 8:32 AM, 'Martin Klepsch' via ClojureScript <
> [email protected]> wrote:
>
>> Hey!
>>
>> Is it currently possible to create custom @define’s from Clojurescript as
>> described here:
>> https://developers.google.com/closure/compiler/docs/js-for-compiler#tag-define
>> ?
>>
>> I tried using `js*` but I think this bypasses the Closure compiler
>> completely?
>>
>> (js* "/** @define {boolean} */
>> el.app.APP_DEBUG = true;")
>>
>> Cheers
>>
>> --
>> 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.