Created
January 27, 2014 07:36
-
-
Save jensgro/8644462 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// bringt $.browser zum modernen jQuery zurück | |
// brings back $.browser to modern jQuery | |
jQuery.browser={}; | |
(function(){ | |
jQuery.browser.msie=false; | |
jQuery.browser.version=0; | |
if(navigator.userAgent.match(/MSIE ([0-9]+)\./)){ | |
jQuery.browser.msie=true;jQuery.browser.version=RegExp.$1; | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment