Re: ClojureScript: integration with jQuery

2011-10-14 Thread Curious Fox
Oh, I see. Now I totally get it. Thank you for the detailed explanation. On Oct 14, 10:55 am, Stuart Sierra wrote: > > Honestly, I first did a search by jQuery and came across > > "Alright, fess up, who's unhappy with clojurescript?" > > That's really unfortunate. ClojureScript can be used with

Re: ClojureScript: integration with jQuery

2011-10-14 Thread Stuart Sierra
> Honestly, I first did a search by jQuery and came across > "Alright, fess up, who's unhappy with clojurescript?" That's really unfortunate. ClojureScript can be used with any JavaScript library. What you won't get, in most cases, is the advanced-mode optimizations of Google's Closure compiler

Re: ClojureScript: integration with jQuery

2011-10-14 Thread Curious Fox
Thanks! It looks super easy and I'm sure it'll do the trick. Honestly, I first did a search by jQuery and came across "Alright, fess up, who's unhappy with clojurescript?" (http://groups.google.com/ group/clojure/browse_thread/thread/5b0a1c161938e6eb/a714e9e512838e90? lnk=gst&q=jquery#a714e9e5128

Re: ClojureScript: integration with jQuery

2011-10-13 Thread David Nolen
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

ClojureScript: integration with jQuery

2011-10-13 Thread Frank Warren
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 functionali