diff options
author | John Resig <jeresig@gmail.com> | 2010-10-12 10:13:00 -0400 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2010-10-12 10:13:00 -0400 |
commit | 085de849595ac99677795ed1524f840877a6b7bb (patch) | |
tree | 16a1450c2ef9ceb380ab05b38411f2ba10670442 /src/traversing.js | |
parent | 5200194f517a7bde7bbe9aa50dc1e81f1e1db441 (diff) | |
download | jquery-085de849595ac99677795ed1524f840877a6b7bb.tar.gz jquery-085de849595ac99677795ed1524f840877a6b7bb.zip |
The child selector-prefix branch doesn't work with selectors that have a larger depth. Removing for now - will need to re-evaluate in the future.
Diffstat (limited to 'src/traversing.js')
-rw-r--r-- | src/traversing.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/traversing.js b/src/traversing.js index 968aab036..3ed0a1c22 100644 --- a/src/traversing.js +++ b/src/traversing.js @@ -11,11 +11,6 @@ var runtil = /Until$/, jQuery.fn.extend({ find: function( selector ) { - // Handle "> div" child selectors and pass them to .children() - if ( typeof selector === "string" && rchild.test( selector ) ) { - return this.children( selector.replace( rchild, "$1" ) ); - } - var ret = this.pushStack( "", "find", selector ), length = 0; for ( var i = 0, l = this.length; i < l; i++ ) { |