How to make Jquery work with google closure compiler

前端 未结 2 1314
囚心锁ツ
囚心锁ツ 2020-12-09 14:00

I have been going through all the posts related to GCC with JQuery but unable to find the solution. Is JQuery still not compatible to work with GCC? If not can you please re

2条回答
  •  萌比男神i
    2020-12-09 14:01

    Try adding this flag:

    --process_jquery_primitives

    https://code.google.com/p/closure-compiler/wiki/jQueryExpansions

提交回复
热议问题