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:
cb3f9d8
)
Fix for Safari 1.3 crash (bug #1331).
author
John Resig
<jeresig@gmail.com>
Thu, 5 Jul 2007 20:40:44 +0000
(20:40 +0000)
committer
John Resig
<jeresig@gmail.com>
Thu, 5 Jul 2007 20:40:44 +0000
(20:40 +0000)
src/selector/selector.js
patch
|
blob
|
history
diff --git
a/src/selector/selector.js
b/src/selector/selector.js
index
4a90bb9
..
c3d7f7a
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 < "3.0.0" ? "\\w" : "(?:[\\w\u0128-\uFFFF*_-]|\\\\.)" ) + "+)")
+ ( jQuery.chars = jQuery.browser.safari && jQuery.browser.version < 416.12 ? "(?:[\\w*_-]|\\\\.)" : "(?:[\\w\u0128-\uFFFF*_-]|\\\\.)" ) + "+)")
],
multiFilter: function( expr, elems, not ) {