git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Made some code tweaks related to running jQuery through JSLint (thanks to Lorin Larso...
[jquery.git]
/
src
/
core.js
diff --git
a/src/core.js
b/src/core.js
index
ba5d7f5
..
e2e60a9
100644
(file)
--- 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" };
},