Moved a bunch of methods out of the jQuery-specific Sizzle code into more-appropriate files, in jQuery itself.

This commit is contained in:
John Resig 2009-10-26 18:07:57 -04:00
parent b7ccc58afe
commit bbffc99f7c
6 changed files with 75 additions and 66 deletions

View file

@ -333,7 +333,7 @@ jQuery.each({
jQuery.each({
// keepData is for internal use only--do not document
remove: function( selector, keepData ) {
if ( !selector || jQuery.multiFilter( selector, [ this ] ).length ) {
if ( !selector || jQuery.filter( selector, [ this ] ).length ) {
if ( !keepData && this.nodeType === 1 ) {
cleanData( this.getElementsByTagName("*") );
cleanData( [ this ] );