Permalink
Browse files

Cleanup spacing in traversing.js. Fixes #10601

  • Loading branch information...
1 parent b723d49 commit 27d099d47168d823430a1709946263f849639d4c @rwaldron rwaldron committed Oct 27, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/traversing.js
View
@@ -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" ) {
@@ -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;
});
}

0 comments on commit 27d099d

Please sign in to comment.