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:
985856b
)
Moved to a generic solution for copying methods over for querySelectorAll-using browsers.
author
John Resig
<jeresig@gmail.com>
Fri, 27 Feb 2009 15:20:59 +0000
(15:20 +0000)
committer
John Resig
<jeresig@gmail.com>
Fri, 27 Feb 2009 15:20:59 +0000
(15:20 +0000)
src/selector.js
patch
|
blob
|
history
diff --git
a/src/selector.js
b/src/selector.js
index
3bfc5f5
..
c189515
100644
(file)
--- a/
src/selector.js
+++ b/
src/selector.js
@@
-829,10
+829,9
@@
if ( document.querySelectorAll ) (function(){
return oldSizzle(query, context, extra, seed);
};
- Sizzle.find = oldSizzle.find;
- Sizzle.filter = oldSizzle.filter;
- Sizzle.selectors = oldSizzle.selectors;
- Sizzle.matches = oldSizzle.matches;
+ for ( var prop in oldSizzle ) {
+ Sizzle[ prop ] = oldSizzle[ prop ];
+ }
})();
if ( document.getElementsByClassName && document.documentElement.getElementsByClassName ) (function(){