diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2012-05-07 16:45:22 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2012-05-07 16:45:22 -0400 |
commit | b26c34a69ffed321a1e9b506b31224fcaf64b3b0 (patch) | |
tree | 43f4507e2904758eab51b3d92876f59673eb5009 /src/traversing.js | |
parent | df254d47e43e6e1652b20a3b338b26f634cd2b2a (diff) | |
download | jquery-b26c34a69ffed321a1e9b506b31224fcaf64b3b0.tar.gz jquery-b26c34a69ffed321a1e9b506b31224fcaf64b3b0.zip |
Fixes lint issues.
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Diffstat (limited to 'src/traversing.js')
-rw-r--r-- | src/traversing.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/traversing.js b/src/traversing.js index 027996e27..c815511a9 100644 --- a/src/traversing.js +++ b/src/traversing.js @@ -175,8 +175,11 @@ function isDisconnected( node ) { } function sibling( cur, dir ) { - while ( cur = cur[ dir ], cur.nodeType !== 1 ) {} + cur = cur[ dir ]; + while ( cur.nodeType !== 1 ) { + cur = cur[ dir ]; + } return cur; } |