Skip to content
Permalink
Browse files

Organizing vars

  • Loading branch information...
timmywil
timmywil committed Mar 16, 2011
1 parent 7a69e34 commit 929792834f77e075e4b5397fb4b25b1a2dcbd49a
Showing with 3 additions and 4 deletions.
  1. +3 −4 src/traversing.js
@@ -18,7 +18,7 @@ var runtil = /Until$/,
jQuery.fn.extend({
find: function( selector ) {
var self = this,
ret, i, l;
i, l;

if ( typeof selector !== "string" ) {
return jQuery( selector ).filter(function() {
@@ -30,9 +30,8 @@ jQuery.fn.extend({
});
}

ret = this.pushStack( "", "find", selector );

var length, n, r;
var ret = this.pushStack( "", "find", selector ),
length, n, r;
for ( i = 0, l = this.length; i < l; i++ ) {
length = ret.length;
jQuery.find( selector, this[i], ret );

0 comments on commit 9297928

Please sign in to comment.
You can’t perform that action at this time.