In relation to this discussion: https://groups.google.com/d/topic/clojure-dev/wJdJxE-d7ao/discussion
"Clojurescript foreign libs support" It seems that the inclusion of general js libs with the closure compiler is not easy. The :foreign-libs option for cljsc does not work in advanced mode if the library is not closure compilation compatible. And, almost all libraries written in javascript both now and in the future are probably going to be incompatible. With the solution of using a js lib as its own externs file, I have a couple of questions: 1. Is there a way to suppress the resulting externs warnings specifically? - just having them print to the console takes a long time as well as drowning any useful messages. 2. has anyone seen cases where using externs in this way produces real errors? I came across the following, which may be of use: for extracting externs: http://blog.dotnetwise.com/2009/11/closure-compiler-externs-extractor.html http://www.dotnetwise.com/Code/Externs/index.html As well as the associated rant: https://groups.google.com/forum/#!topic/closure-compiler-discuss/HcX8tKSVPoM Also there are existing externs files being contributed: 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 Cheers Dave -- 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