Skip to content

Commit

Permalink
Cleanup spacing in traversing.js. Fixes #10601
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Oct 27, 2011
1 parent b723d49 commit 27d099d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/traversing.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ function winnow( elements, qualifier, keep ) {

} else if ( qualifier.nodeType ) {
return jQuery.grep(elements, function( elem, i ) {
return (elem === qualifier) === keep;
return ( elem === qualifier ) === keep;
});

} else if ( typeof qualifier === "string" ) {
Expand All @@ -322,7 +322,7 @@ function winnow( elements, qualifier, keep ) {
}

return jQuery.grep(elements, function( elem, i ) {
return (jQuery.inArray( elem, qualifier ) >= 0) === keep;
return ( jQuery.inArray( elem, qualifier ) >= 0 ) === keep;
});
}

Expand Down

0 comments on commit 27d099d

Please sign in to comment.