aboutsummaryrefslogtreecommitdiffstats
path: root/src/traversing.js
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2009-12-18 10:54:34 -0500
committerjeresig <jeresig@gmail.com>2009-12-18 10:54:34 -0500
commit9368b188c06dd66d43e3a488465078e1d6eb765f (patch)
tree241afc594c70d47b805049d58e9917a90f265a62 /src/traversing.js
parentfe7e2fee1673d76130b40488c61982b081aff29f (diff)
downloadjquery-9368b188c06dd66d43e3a488465078e1d6eb765f.tar.gz
jquery-9368b188c06dd66d43e3a488465078e1d6eb765f.zip
Removed jQuery.fn.contains - didn't match the :contains() selector and confused things. Thanks ajpiano for the tip.
Diffstat (limited to 'src/traversing.js')
-rw-r--r--src/traversing.js4
1 files changed, 0 insertions, 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);
},