Made some code tweaks related to running jQuery through JSLint (thanks to Lorin Larson for the JSLint run).
This commit is contained in:
parent
5353c6bcc3
commit
a18f682012
5 changed files with 45 additions and 38 deletions
|
@ -693,7 +693,7 @@ jQuery.extend({
|
|||
/(opera)(?:.*version)?[ \/]([\w.]+)/.exec( ua ) ||
|
||||
/(msie) ([\w.]+)/.exec( ua ) ||
|
||||
!/compatible/.test( ua ) && /(mozilla)(?:.*? rv:([\w.]+))?/.exec( ua ) ||
|
||||
[];
|
||||
[];
|
||||
|
||||
return { browser: match[1] || "", version: match[2] || "0" };
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue