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 d30e4e6..42444c3 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);
        },