]> source.dussan.org Git - jquery.git/commitdiff
Removed jQuery.fn.contains - didn't match the :contains() selector and confused thing...
authorjeresig <jeresig@gmail.com>
Fri, 18 Dec 2009 15:54:34 +0000 (10:54 -0500)
committerjeresig <jeresig@gmail.com>
Fri, 18 Dec 2009 15:54:34 +0000 (10:54 -0500)
src/traversing.js

index d30e4e6da1c57da2874d46c1279ed28289ecd995..42444c3f2261646b66b875e8c2ce634eb678f0c8 100644 (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);
        },