> I would not rely on this behavior. Follow Clojure's property access 
conventions.

Sorry to dig this up again - would just like to clarify:

The idiomatic way of accessing something like `window.location.pathname` 
then would be (aget js/window "location" "pathname"), or nested .- 
accesses, correct? I know things with Cljs are developing quickly and 
I keep seeing the `js/window.location.pathname` form pop up (including in 
Clojurescript's samples/twitterbuzz/src/twitterbuzz/anneal.cljs), so just 
wanted to double check.

Assuming the latter form is indeed incorrect, any chance of adding a 
compiler warning to start dissuading people from using it?

Thanks!

-- 
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