Skip to content
Permalink
Browse files

Removed jQuery.fn.contains - didn't match the :contains() selector an…

…d confused things. Thanks ajpiano for the tip.
  • Loading branch information
jeresig committed Dec 18, 2009
1 parent fe7e2fe commit 9368b188c06dd66d43e3a488465078e1d6eb765f
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/traversing.js
@@ -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);
},

0 comments on commit 9368b18

Please sign in to comment.
You can’t perform that action at this time.