本文介紹了是否可以將 Closure Compiler ADVANCED_OPTIMIZATIONS 與 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?
推薦答案
你必須 將 jQuery 聲明為編譯器的外部...但是我不確定是否有人做過,有一個 1.3.2 的 extern 文件,但我沒有沒有看到任何 1.4+ 版本.
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.
這個問題線程這里有社區建1.4版本.
這篇關于是否可以將 Closure Compiler ADVANCED_OPTIMIZATIONS 與 jQuery 一起使用?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!
【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!