diff options
author | jeresig <jeresig@gmail.com> | 2010-03-01 21:24:49 -0500 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2010-03-01 21:24:49 -0500 |
commit | dcf0fa5048ef2379d551f29ffa29b14ec5ee09d5 (patch) | |
tree | 8a1575a43c3f62be0aa768590742246fa950f11b /src/traversing.js | |
parent | 8c8f685a911c811e9b998958dd453a6a2b9d5940 (diff) | |
download | jquery-dcf0fa5048ef2379d551f29ffa29b14ec5ee09d5.tar.gz jquery-dcf0fa5048ef2379d551f29ffa29b14ec5ee09d5.zip |
More changes to get jQuery in line with JSLint.
Diffstat (limited to 'src/traversing.js')
-rw-r--r-- | src/traversing.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/traversing.js b/src/traversing.js index e597e2041..67760450f 100644 --- a/src/traversing.js +++ b/src/traversing.js @@ -7,7 +7,8 @@ var runtil = /Until$/, var winnow = function( elements, qualifier, keep ) { if ( jQuery.isFunction( qualifier ) ) { return jQuery.grep(elements, function( elem, i ) { - return !!qualifier.call( elem, i, elem ) === keep; + var retVal = !!qualifier.call( elem, i, elem ); + return retVal === keep; }); } else if ( qualifier.nodeType ) { |