@@ 5337-5352 (lines=16) @@ | ||
5334 | var ret = this.pushStack( "", "find", selector ), |
|
5335 | length, n, r; |
|
5336 | ||
5337 | for ( i = 0, l = this.length; i < l; i++ ) { |
|
5338 | length = ret.length; |
|
5339 | jQuery.find( selector, this[i], ret ); |
|
5340 | ||
5341 | if ( i > 0 ) { |
|
5342 | // Make sure that the results are unique |
|
5343 | for ( n = length; n < ret.length; n++ ) { |
|
5344 | for ( r = 0; r < length; r++ ) { |
|
5345 | if ( ret[r] === ret[n] ) { |
|
5346 | ret.splice(n--, 1); |
|
5347 | break; |
|
5348 | } |
|
5349 | } |
|
5350 | } |
|
5351 | } |
|
5352 | } |
|
5353 | ||
5354 | return ret; |
|
5355 | }, |
@@ 4664-4679 (lines=16) @@ | ||
4661 | var ret = this.pushStack( "", "find", selector ), |
|
4662 | length = 0; |
|
4663 | ||
4664 | for ( var i = 0, l = this.length; i < l; i++ ) { |
|
4665 | length = ret.length; |
|
4666 | jQuery.find( selector, this[i], ret ); |
|
4667 | ||
4668 | if ( i > 0 ) { |
|
4669 | // Make sure that the results are unique |
|
4670 | for ( var n = length; n < ret.length; n++ ) { |
|
4671 | for ( var r = 0; r < length; r++ ) { |
|
4672 | if ( ret[r] === ret[n] ) { |
|
4673 | ret.splice(n--, 1); |
|
4674 | break; |
|
4675 | } |
|
4676 | } |
|
4677 | } |
|
4678 | } |
|
4679 | } |
|
4680 | ||
4681 | return ret; |
|
4682 | }, |