aboutsummaryrefslogtreecommitdiffstats
path: root/src/traversing.js
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2012-10-17 12:50:12 -0400
committerMike Sherov <mike.sherov@gmail.com>2012-10-17 12:52:12 -0400
commit16d996ba0c150101632cef140116b7f68da162f8 (patch)
tree81dc420726022f5a34477d7a9e7fb582881a43af /src/traversing.js
parent3bfd15878442ed97a7c768a09ccd51571d4e1d47 (diff)
downloadjquery-16d996ba0c150101632cef140116b7f68da162f8.tar.gz
jquery-16d996ba0c150101632cef140116b7f68da162f8.zip
no ticket: remove and enforce unused vars in jshint
Diffstat (limited to 'src/traversing.js')
-rw-r--r--src/traversing.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/traversing.js b/src/traversing.js
index 365bb2947..3e04bf4fb 100644
--- a/src/traversing.js
+++ b/src/traversing.js
@@ -271,7 +271,7 @@ function winnow( elements, qualifier, keep ) {
});
} else if ( qualifier.nodeType ) {
- return jQuery.grep(elements, function( elem, i ) {
+ return jQuery.grep(elements, function( elem ) {
return ( elem === qualifier ) === keep;
});
@@ -287,7 +287,7 @@ function winnow( elements, qualifier, keep ) {
}
}
- return jQuery.grep(elements, function( elem, i ) {
+ return jQuery.grep(elements, function( elem ) {
return ( jQuery.inArray( elem, qualifier ) >= 0 ) === keep;
});
}