Clojurescript standards to integrate other libraries

150 views
Skip to first unread message

Prasanna Gautam

unread,
Apr 11, 2012, 8:55:10 PM4/11/12
to clo...@googlegroups.com
I'm quite new to clojurescript and I'm working on using clojurescript with some other javascript libraries - most notably I would like to get jQuery and Highcharts to work right now. Are there any established patterns or projects that make it easier to write wrappers for libraries that aren't compatible with Google Closure Advanced mode?

Mark Rathwell

unread,
Apr 13, 2012, 3:50:15 PM4/13/12
to clo...@googlegroups.com
Hi,

Below are some good resources for the questions you have. Just a
note, you can advanced compile your own code that calls out to jQuery,
and others, you just can't compile those libraries in. So, there are
existing extern files for jQuery, and for other libraries you might be
using, you can create your own extern files.

jayq (ClojureScript jQuery wrapper):
https://github.com/ibdknox/jayq

closure compiler extern files:
http://code.google.com/p/closure-compiler/source/browse/#svn%2Ftrunk%2Fcontrib%2Fexterns

Using Javascript Libraries in ClojureScript:
http://lukevanderhart.com/2011/09/30/using-javascript-and-clojurescript.html

using jQuery plugins:
https://groups.google.com/forum/#!msg/clj-noir/HPeQl5jn4V8/WdP10stY8GYJ

> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@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+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

Reply all
Reply to author
Forward
0 new messages