Uncaught TypeError: Cannot read property ‘msie’ of undefined

I am getting the following error in Chrome dev console:

My understanding is that it is because .browser is now deprecated in jQuery however I am using the latest version of jQuery tools and it is still giving the error, I checked in the js file and it is there.

How can I get around this so it does not give the error?

———————

The $.browser method has been removed as of jQuery 1.9.

As stated in the Upgrade Guide you can try using the jQuery Migrate plugin to restore this functionality and let jQuery Tools work.

———————-

 

转自:http://stackoverflow.com/questions/14923301/uncaught-typeerror-cannot-read-property-msie-of-undefined-jquery-tools