开发者

jsLint Aptana jquery regex validation

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜