开发者

jquery compress error

http://pastebin.com/WfsVZ4nU

i got the followi开发者_JS百科ng error when i compressed my javascript code.


When code is minified it is important not to miss any semicolon. Please check your code here and put semicolon, where is needed (Lines 194 and 199).


Missing semi-colons on (at least) lines 194 and 199.


Try to use JSLint, it is a series of checks that parse your Javascript and look for potential problems.

At the beginning, it is painful to use as many errors appear.
But then, it becomes a very useful safety net, to write solid JS that compress well.

And usually it can be easily integrated in your IDE so you forget it.
eg: It can check the JS each times you save the file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜