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:
fa7bfcf
)
Added a fix for bug #1331, which caused Safari 1.3 to crash.
author
John Resig
<jeresig@gmail.com>
Wed, 4 Jul 2007 16:15:09 +0000
(16:15 +0000)
committer
John Resig
<jeresig@gmail.com>
Wed, 4 Jul 2007 16:15:09 +0000
(16:15 +0000)
src/selector/selector.js
patch
|
blob
|
history
diff --git
a/src/selector/selector.js
b/src/selector/selector.js
index
5f6f87b
..
04b68d3
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 = "(?:[\\w\u0128-\uFFFF*_-]|\\\\.)" ) + "+)")
+ ( jQuery.chars = jQuery.browser.safari && jQuery.browser.version < "3.0.0" ? "\\w" : "(?:[\\w\u0128-\uFFFF*_-]|\\\\.)" ) + "+)")
],
multiFilter: function( expr, elems, not ) {