diff options
author | John Resig <jeresig@gmail.com> | 2007-06-29 21:52:45 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2007-06-29 21:52:45 +0000 |
commit | ea98b164387d16fe5c0aeb9fc0b4498f2df8fb02 (patch) | |
tree | 063a248de71f9a801f09e40df15ce8c2a87f4f02 | |
parent | e7a8310f654d5a656ebc7cec6b6480c77522bdfd (diff) | |
download | jquery-ea98b164387d16fe5c0aeb9fc0b4498f2df8fb02.tar.gz jquery-ea98b164387d16fe5c0aeb9fc0b4498f2df8fb02.zip |
Who am I kidding |= is useless.
-rw-r--r-- | src/selector/selector.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selector/selector.js b/src/selector/selector.js index bc250fe85..83b27e933 100644 --- a/src/selector/selector.js +++ b/src/selector/selector.js @@ -53,7 +53,7 @@ jQuery.extend({ // The regular expressions that power the parsing engine parse: [ // Match: [@value='test'], [@foo] - /^\[ *(@)([\w-]+) *([!*$^~|=]*) *('?"?)(.*?)\4 *\]/, + /^\[ *(@)([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/, // Match: [div], [div p] /^(\[)\s*(.*?(\[.*?\])?[^[]*?)\s*\]/, @@ -347,7 +347,7 @@ jQuery.extend({ type == "!=" && z != m[5] || type == "^=" && z && !z.indexOf(m[5]) || type == "$=" && z.substr(z.length - m[5].length) == m[5] || - (type == "*=" || type == "|=" || type == "~=") && z.indexOf(m[5]) >= 0) ^ not ) + (type == "*=" || type == "~=") && z.indexOf(m[5]) >= 0) ^ not ) tmp.push( a ); } |