In contribution to the Google Closure-Compiler project, I wrote a small console application which parses the jQuery API XML and outputs an extern file. The program maps types referenced in the jQuery API to Closure compatible types.
Download the jQueryExternGenerator (updated 5/6/2011 for jQuery 1.6)
The program is run from a Windows command line with no arguments. It creates an extern file in the same directory based on the newest API version referenced in the XML.
Discover more from Web Strategy and Development News
Subscribe to get the latest posts sent to your email.