jQuery compiled with Google Closure Compiler

后端 未结 10 872
抹茶落季
抹茶落季 2020-11-29 04:52

Has anyone compiled jQuery against Google\'s newly-released Closure compiler?

There has been reported huge savings in code size. I\'m curious what the benefit is if

10条回答
  •  一向
    一向 (楼主)
    2020-11-29 05:51

    John Resig reported a bug on recursive functions when he attempted to compile a nightly of jQuery 1.4, so there are a few kinks to be worked out. I wouldn't use a jQuery compiled with Closure Compiler without making sure it passes the jQuery testbed.

    http://code.google.com/p/closure-compiler/issues/detail?id=1&can=1#c2

提交回复
热议问题