It is very hard to find deprecated jQuery calls only by warnings.
console.trace() is great to find what was called and where.
jQuery.migrateWarningsTrace property to enabled console.trace on warn…
I agree. I had to go into the Migrate code to insert some additional tracing code in order to find what was causing my warning (in issue #11). It would be handy if this was just standard behavior in jQuery Migrate.
Rather than adding another property, perhaps jQuery.migrateWarn="trace" would do it. It would need to fall back for browsers that don't support trace.
oh nevermind, I was thinking of the old code that has migrateWarn.
Seems like it is ok with patch. Will you merge? :)
Yes, I will make a couple of small changes and land this. @silentroach can you sign our CLA at http://jquery.github.com/cla.html ? Thanks.
CLA is signed.
@silentroach Thanks so much for pointing this out! I had totally forgotten about console.trace(). Since people who really need this tend to have trouble following even the simplest instructions I made it the default but it can be disabled by setting the property to false. The minified plugin still keeps quiet about warnings.
Update authors file, ref gh-10.