Commit 9368b188 authored by jeresig's avatar jeresig

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

Removed jQuery.fn.contains - didn't match the :contains() selector and confused things. Thanks ajpiano for the tip.
parent fe7e2fee
...@@ -68,10 +68,6 @@ jQuery.fn.extend({ ...@@ -68,10 +68,6 @@ jQuery.fn.extend({
}); });
}, },
contains: function( target ) {
return this.has( target ).length > 0;
},
not: function( selector ) { not: function( selector ) {
return this.pushStack( winnow(this, selector, false), "not", selector); return this.pushStack( winnow(this, selector, false), "not", selector);
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment