As far as I can tell there is no official jQuery externs file for the 1.10 or 2.0 branch of jQuery. My question is, am I going to run into trouble using the jQuery 1.9 externs file with the 1.10 and 2.0 versions?
//Update
As @John pointed out, you are better off using the 1.9 externs until 1.10 is available.
If you are missing externs for other libraries then jQuery, and you are not interested in type checking, you could try providing a library itself as an extern for closure compiler.
--externs some-library.js
and suppressing the warnings:
--jscomp_off=externsValidation
However, be careful with this method. After switching to VERBOSE
mode I run into problems like this one.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With