Moved to a generic solution for copying methods over for querySelectorAll-using browsers.
This commit is contained in:
parent
985856b823
commit
1c8c3883a9
1 changed files with 3 additions and 4 deletions
|
@ -829,10 +829,9 @@ if ( document.querySelectorAll ) (function(){
|
||||||
return oldSizzle(query, context, extra, seed);
|
return oldSizzle(query, context, extra, seed);
|
||||||
};
|
};
|
||||||
|
|
||||||
Sizzle.find = oldSizzle.find;
|
for ( var prop in oldSizzle ) {
|
||||||
Sizzle.filter = oldSizzle.filter;
|
Sizzle[ prop ] = oldSizzle[ prop ];
|
||||||
Sizzle.selectors = oldSizzle.selectors;
|
}
|
||||||
Sizzle.matches = oldSizzle.matches;
|
|
||||||
})();
|
})();
|
||||||
|
|
||||||
if ( document.getElementsByClassName && document.documentElement.getElementsByClassName ) (function(){
|
if ( document.getElementsByClassName && document.documentElement.getElementsByClassName ) (function(){
|
||||||
|
|
Loading…
Reference in a new issue