binding works just fine in CLJS. That it doesn't work with required "vars" sounds like a bug.
On Monday, January 9, 2012, Stuart Sierra <the.stuart.sie...@gmail.com> wrote: > Hi Shantanu, > > #1 is a bug. > > #2 is not possible because `import` doesn't exist in ClojureScript: it doesn't differentiate between host classes and ClojureScript code. Protocols and types should be accessible with normal `require` in ClojureScript. > > #3 seems unlikely to be implemented. ClojureScript doesn't have Vars, and it doesn't have threads, so there's not much for `binding` to do. I could see `with-redefs` being supported, however. > > -S > > -- > 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 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