ClojureScript can access globals via js/foo. You can easily interact with your existing codebase using this simple feature. For example:
(ns foo.bar) (def j js/jQuery) (.text (j "div#foo") "jQuery works!") Were you looking for something more sophisticated then this? David On Wed, Oct 12, 2011 at 8:08 PM, Frank Warren <fra...@gmail.com> wrote: > Howdy > > This particular story starts with vast existing code base using > jQuery. We'd love to switch to ClojureScript given its pure > awesomeness, but we still have to somehow cope with the existing bits, > at least to maintain the same look&feel. > > Is there any good approach to invoke jQuery functionality from > ClojureScript? > > Is it feasible to wrap existing jQuery into some sort of helper class > and invoke it instead? > > I would highly appreciate any suggestions, > F. > > -- > 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