Ryan, JQuery cannot be compiled by the closure compiler.
If you use advanced mode compilation - you must include the minified jquery lib in your pages and an externs file when compiling clojurescript. If you are using simple optimisations you can include jquery as a "foreign lib" as documented here: http://lukevanderhart.com/2011/09/30/using-javascript-and-clojurescript.html some externs files are found here (including jquery to 1.7) http://code.google.com/p/closure-compiler/source/browse/trunk/contrib/externs/ As well as: http://code.google.com/p/closure-compiler/source/browse/trunk/#trunk%2Fexterns The overhead of including the jquery minified js is probably not a major issue. I expect jquery plugins will generally not work if using advanced compilation. I may be wrong. Cheers Dave -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
