Skip to content
Permalink
Browse files

Fixes lint issues.

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
  • Loading branch information...
rwaldron committed May 7, 2012
1 parent df254d4 commit b26c34a69ffed321a1e9b506b31224fcaf64b3b0
Showing with 4 additions and 1 deletion.
  1. +4 −1 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;
}

0 comments on commit b26c34a

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