aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-03-01 12:44:56 -0500
committerjeresig <jeresig@gmail.com>2010-03-01 12:44:56 -0500
commita18f682012ae8e63f3b43b39375b3c5ce0a561e3 (patch)
treee897c8e14067e1fd3ef7bd658f0ef91afdcf7d0a /src/core.js
parent5353c6bcc352c4d900cc76af110e56ee1e70ae0f (diff)
downloadjquery-a18f682012ae8e63f3b43b39375b3c5ce0a561e3.tar.gz
jquery-a18f682012ae8e63f3b43b39375b3c5ce0a561e3.zip
Made some code tweaks related to running jQuery through JSLint (thanks to Lorin Larson for the JSLint run).
Diffstat (limited to 'src/core.js')
-rw-r--r--src/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js
index ba5d7f528..e2e60a9a7 100644
--- a/src/core.js
+++ b/src/core.js
@@ -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" };
},