开发者

How can I find unsupported / deprecated jQuery functions in a JS file?

Is there a website or a tool where I can enter some jQuery code and it will show me whether unsupported / deprecated function开发者_C百科s are used in this code?

This would be really nice...


jQuery lint should do the job:

http://james.padolsey.com/javascript/jquery-lint/


jQuery now provide a migrate plugin (1.4.1 & 3.0+) to display warnings on any use of deprecated functions in browser console:

https://github.com/jquery/jquery-migrate/#readme

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜