I added the compiler macros to make this work in a branch: https://github.com/clojure/clojurescript/compare/37-support-for-js-literals
Feedback appreciated. David On Fri, Oct 28, 2011 at 7:04 PM, David Nolen <[email protected]> wrote: > There's a ticket, http://dev.clojure.org/jira/browse/CLJS-37 > > However things get fixed faster if you submit a patch ;) If you're excited > about ClojureScript, then consider submitting a CA and helping out. > > David > > On Fri, Oct 28, 2011 at 6:58 PM, David Powell <[email protected]> wrote: > >> >> I'm struggling at getting started in ClojureScript. >> >> One problem I have: >> >> I don't have to look far in Closure before I find an API like this: >> >> >> http://closure-library.googlecode.com/svn/docs/class_goog_dom_DomHelper.html#goog.dom.DomHelper.prototype.createDom >> >> that takes a JavaScript name/value object/map. Is there an easy way to >> construct a JavaScript object like this, eg from a ClojureScript map? I >> couldn't see anything, but this seems like an important thing. If there >> isn't one yet, can we expect one, or are there some issues? >> >> >> Also, how do people go about writing a Closure app. Do people make their >> own UI components? Is that easy to do in ClojureScript? >> >> -- >> Dave >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to [email protected] >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en > > > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
