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:
ce90acc
)
match[4] is already saved in check - thanks Balazs.
author
John Resig
<jeresig@gmail.com>
Mon, 9 Feb 2009 15:01:23 +0000
(15:01 +0000)
committer
John Resig
<jeresig@gmail.com>
Mon, 9 Feb 2009 15:01:23 +0000
(15:01 +0000)
src/selector.js
patch
|
blob
|
history
diff --git
a/src/selector.js
b/src/selector.js
index
d580c5a
..
3dc8765
100644
(file)
--- a/
src/selector.js
+++ b/
src/selector.js
@@
-573,7
+573,7
@@
var Expr = Sizzle.selectors = {
value.indexOf(check) >= 0 :
type === "~=" ?
(" " + value + " ").indexOf(check) >= 0 :
- !match[4] ?
+ !check ?
result :
type === "!=" ?
value != check :