Removed jQuery.fn.contains - didn't match the :contains() selector and confused things. Thanks ajpiano for the tip.

This commit is contained in:
jeresig 2009-12-18 10:54:34 -05:00
parent fe7e2fee16
commit 9368b188c0

View file

@ -68,10 +68,6 @@ jQuery.fn.extend({
});
},
contains: function( target ) {
return this.has( target ).length > 0;
},
not: function( selector ) {
return this.pushStack( winnow(this, selector, false), "not", selector);
},