From 9368b188c06dd66d43e3a488465078e1d6eb765f Mon Sep 17 00:00:00 2001 From: jeresig Date: Fri, 18 Dec 2009 10:54:34 -0500 Subject: [PATCH] Removed jQuery.fn.contains - didn't match the :contains() selector and confused things. Thanks ajpiano for the tip. --- src/traversing.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/traversing.js b/src/traversing.js index d30e4e6da..42444c3f2 100644 --- a/src/traversing.js +++ b/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); },