Is it possible to use Closure Compiler ADVANCED_OPTIMIZATIONS with jQuery?
I keep getting errors that the function (renamed) does not exist for the given object. Is there a release or setting or something to make it work? You have to declare jQuery as an extern to the compiler ...however I'm not sure if anyone's made one, there was an extern file for 1.3.2 , but I haven't seen any 1.4+ versions. Edit: this issue thread here has the community building a 1.4 version . You must use an externs file for jQuery when using Closure Compiler Advanced Mode with jQuery. Extern file will tell compiler these are reserved methods and accept these argument and argument data types