开发者

jsLint Aptana jquery regex validation

开发者 https://www.devze.com 2023-03-19 05:12 出处:网络
I\'m trying to get JSLint to ignore the following jquery related errors (\'$\' is not defined), what would be the regex that I would need to add in Apatana\'s javascript开发者_Go百科 validation filter

I'm trying to get JSLint to ignore the following jquery related errors ('$' is not defined), what would be the regex that I would need to add in Apatana's javascript开发者_Go百科 validation filter to make this possible.

Or is there a completely different way to approach the issue.

Many thanks,

Clara


You can add global directive (to the JS file) and JSLint will ignore them: /*global $*/

0

精彩评论

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