Possible duplicate:
jQuery compiled using the Google Closure Compiler
I am using jQuery and I have all my JS code in the application.js file. When I compile "application.js" with the Google Closure compiler (using optional parameters), I get the js file without errors and warnings. However, I cannot use the file on my page, I get an error loading the page that says: "TypeError: Result of the expression" $ ("div.tile"). D '[undefined] is not a function. "
My question is Can I compile a js file that uses jQuery?
jquery google-closure google-closure-compiler
iJK
source share