大佬教程收集整理的这篇文章主要介绍了jquery – Internet Explorer,Closure Compiler和Trailing Commas,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我收到了这个错误
-js.all.minify: [echo] Minifying scripts [copy] Copying 3 files to /Users/Username/Desktop/Web/intermediate/js [apply] /Users/Juan/Desktop/Web/js/plugins.js:117: ERROR - Parse error. Internet Explorer has a non-standard intepretation of Trailing commas. Arrays will have the wrong length and objects will not parse at all. [apply] },{ duration: 727 }) [apply] ^
但如果运行未编译,代码将在IE 8中运行.
这是代码
anim1.animate({ 'left': '+=32px','filter': 'alpha(opacity=100)','-moz-opacity': '1','-khtml-opacity': '1','opacity': '1',},{ duration: 727 })
如何让这段代码通过Compulsure Compiler?
谢谢
以上是大佬教程为你收集整理的jquery – Internet Explorer,Closure Compiler和Trailing Commas全部内容,希望文章能够帮你解决jquery – Internet Explorer,Closure Compiler和Trailing Commas所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。