Some additional information if you're interested: http://dev.clojure.org/jira/browse/CLJS-89 http://dev.clojure.org/display/design/Unified+ClojureScript+and+Clojure+field+access+syntax
'(Devin Walters) On Thursday, May 3, 2012 at 10:47 AM, David Nolen wrote: > I would not rely on this behavior. Follow Clojure's property access > conventions. > > David > > On Thursday, May 3, 2012, Rob wrote: > > Hi, > > > > Syntax like this doesn't work in normal Clojure, right? > > > > js/document.body.style > > > > It just did in a ClojureScript repl. Is there something magic about "js/" ? > > What is it? > > > > thanks, > > Rob > > > > -- > > 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 > > > -- > 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 > (mailto: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 > (mailto:clojure+unsubscr...@googlegroups.com) > 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 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