git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2278b24
)
Final fix for Safari crasher (bug #1331).
author
John Resig
<jeresig@gmail.com>
Fri, 6 Jul 2007 13:36:38 +0000
(13:36 +0000)
committer
John Resig
<jeresig@gmail.com>
Fri, 6 Jul 2007 13:36:38 +0000
(13:36 +0000)
src/selector/selector.js
patch
|
blob
|
history
diff --git
a/src/selector/selector.js
b/src/selector/selector.js
index
c3d7f7a
..
a78cb31
100644
(file)
--- a/
src/selector/selector.js
+++ b/
src/selector/selector.js
@@
-63,7
+63,7
@@
jQuery.extend({
// Match: :even, :last-chlid, #id, .class
new RegExp("^([:.#]*)(" +
- ( jQuery.chars = jQuery.browser.safari && jQuery.browser.version < 416.12 ? "(?:[\\w*_-]|\\\\.)" : "(?:[\\w\u0128-\uFFFF*_-]|\\\\.)" ) + "+)")
+ ( jQuery.chars = jQuery.browser.safari && parseInt(jQuery.browser.version) < 417 ? "(?:[\\w*_-]|\\\\.)" : "(?:[\\w\u0128-\uFFFF*_-]|\\\\.)" ) + "+)")
],
multiFilter: function( expr, elems, not ) {