Friday, 16 August 2013

jQuery 1.9 - How to migrate from $.browser.msie?

jQuery 1.9 - How to migrate from $.browser.msie?

I am updating an old project that references $.browser.msie . Moving to
jQuery 1.9 of course breaks this.
How can I rewrite this code to get the same boolean value without having
to include jQuery Migrate?
The code is buried deep in an old javascript library we use that needs to
determine if msie is running and then works on the knowledge. We'd rather
not edit the javascript too much as it's brittle.

No comments:

Post a Comment