Simon
Simon

Reputation: 4192

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 functions are used in this code?

This would be really nice...

Upvotes: 8

Views: 6125

Answers (2)

yidc
yidc

Reputation: 36

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

Upvotes: 2

Sunjay Varma
Sunjay Varma

Reputation: 5115

jQuery lint should do the job:

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

Upvotes: 4

Related Questions