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#a714e9e512838e90).

After reading it I got totally confused as it makes an impression that
dealing with jQuery is something nearly impossible.


On Oct 13, 1:21 pm, David Nolen <dnolen.li...@gmail.com> wrote:
> 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

Reply via email to