pupunzi / jquery.mb.extruder

A sliding panel on jQuery framework
http://pupunzi.com
102 stars 33 forks source link

jQuery 1.9 removes $.browser support #8

Closed DR9885 closed 11 years ago

DR9885 commented 11 years ago

REF: http://api.jquery.com/jQuery.browser/

It seems running jQuery 1.9 breaks this plugin.

Uncaught TypeError: Cannot read property 'msie' of undefined jquery.mb.flipText.js:20 Uncaught TypeError: Cannot read property 'msie' of undefined mbExtruder.js:26

pupunzi commented 11 years ago

I'm updating all the plugin to get the compatibility with jQuery 1.9. If you want to use this plugin with jQuery 1.9 you can include the jquery.mb.browser plugin just after the jquery inclusion; it reintroduce the $.browser object removed from jQuery 1.9: https://github.com/pupunzi/jquery.mb.browser

isuftin commented 10 years ago

Would suggest using feature detection where possible instead of relying on client detection