I've used it to make ClojureScript functions in to javascript object
constructors

(defn Foo [] (js* "/*") (js* "*/"))

results in the generated return being commented out, so (Foo.) works

I use this in a macro for creating new types that are based on
existing Google Closure types


On Wed, Sep 12, 2012 at 4:12 PM, Brandon Bloom <snprbo...@gmail.com> wrote:
> I'm exploring some changes to the ClojureScript compiler backend and am
> curious if anyone is using one particular implementation detail: The js*
> special form.
>
> Note that I'm not asking about the js/ pseudo-namespace, only the js*
> special form.
>
> Are you using it in your ClojureScript projects? If so, what for?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en



-- 
And what is good, Phaedrus,
And what is not good—
Need we ask anyone to tell us these things?

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to