Revert "Begrudgingly adds chrome detection to jQuery.browser (1.7). Fixes #9385"

This reverts commit dd93d0eb32.
This commit is contained in:
timmywil
2011-08-26 10:10:35 -04:00
parent e2187f4963
commit 2a045f8269
2 changed files with 3 additions and 5 deletions

View File

@@ -39,7 +39,6 @@ var jQuery = function( selector, context ) {
rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g,
// Useragent RegExp
rchrome = /(chrome)[ \/]([\w.]+)/,
rwebkit = /(webkit)[ \/]([\w.]+)/,
ropera = /(opera)(?:.*version)?[ \/]([\w.]+)/,
rmsie = /(msie) ([\w.]+)/,
@@ -838,8 +837,7 @@ jQuery.extend({
uaMatch: function( ua ) {
ua = ua.toLowerCase();
var match = rchrome.exec( ua ) ||
rwebkit.exec( ua ) ||
var match = rwebkit.exec( ua ) ||
ropera.exec( ua ) ||
rmsie.exec( ua ) ||
ua.indexOf("compatible") < 0 && rmozilla.exec( ua ) ||