Commit 1c8c3883 authored by John Resig's avatar John Resig

Moved to a generic solution for copying methods over for querySelectorAll-using browsers.

parent 985856b8
...@@ -829,10 +829,9 @@ if ( document.querySelectorAll ) (function(){ ...@@ -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(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment