开发者

Chrome: Uncaught Syntax Error : Unexpected token

Page here

Seems like chrome is the only browser having problems with this bit of javascript. I have found that if I remove the '//' from the CDATA tags chrome will give me a line number for the error - line 48. I dont even know where start with this bug unfortunately. The code works as expected but it just takes a bit longer to load/parse with chrome.

I开发者_运维技巧 have tried to use script as an external file (float.js) but the error is the same. In production the code will need to be included in the html body though. Any suggestions?

Edit: It was an extension causing this error, is there any way to code against this?


it was the 'Smooth Gestures' extension. removing fixed

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜