We use https://github.com/ejlo/lein-externs for this and it seems to work 
pretty well for our purposes.

On Monday, March 23, 2015 at 10:42:40 PM UTC-4, james borden wrote:
>
> Is there a way to automatically generate externs files for js libraries 
> for use with the cljs advanced compilation mode? 
>
> I am having problems using a cljsjs package because its extern file does 
> not contain all of the methods of an object I need to complete the 
> introductory tutorial for the js library. My workaround is to create a 
> separate extern file and include the method I need. However, there seems to 
> be many more methods/properties missing from the cljsjs extern file and I 
> would like to just generate a new one and make a pull request.
>
> Is there currently a method someone is using to automatically generate 
> one? It seems tedious and prone to error to generate extern files manually.
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to