Re: How do I suppress warnings in a Clojurescript compilation?

2012-05-30 Thread Evan Mezeske
It sounds to me like you're using a plain JavaScriupt file as an externs definition. If that's the case, one way to get rid of the warnings is to clean up the externs file so that it only contains the function/variable names that are meant to be publicly used. As an example, here's the

Re: How do I suppress warnings in a Clojurescript compilation?

2012-05-30 Thread Stephen Cagle
David, I am depending on lein-cljsbuild 0.1.10 I am compiling by typing lein cljsbuild once This is the content of my project.clj's cljsbuild section: :cljsbuild {:crossovers [rpc.tree] :builds [{:source-path src/rpc/client :compiler {:output-to

Re: How do I suppress warnings in a Clojurescript compilation?

2012-05-30 Thread Evan Mezeske
Unfortunately, I have not been able to find even a decent resource on the general topic of creating extern definition files. So, please take this with a grain of salt, and let's hope someone more knowledgeable can come along and clear things up. My belief is that using an unmodified JS file

Re: How do I suppress warnings in a Clojurescript compilation?

2012-05-30 Thread Evan Mezeske
I also meant to mention that there are a ton of knobs on the closure compiler that are not exposed by the ClojureScript compiler. This is something I'd like to improve (or see improved) at some point, but it's a tricky problem, due to the vast number of options [1]. I expect the only way to