aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/callbacks.js
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2013-04-09 11:45:09 -0400
committerTimmy Willison <timmywillisn@gmail.com>2013-04-09 11:59:31 -0400
commit0fa52c11cbfe70780648b99717f1dd3502befaff (patch)
tree9cd6bfc3b17ae21385aeebd32205d7281934fa17 /test/unit/callbacks.js
parent0afc92bd73a61a0279a419647458e6ed89638ae0 (diff)
downloadjquery-0fa52c11cbfe70780648b99717f1dd3502befaff.tar.gz
jquery-0fa52c11cbfe70780648b99717f1dd3502befaff.zip
Update jshintrc to conform to new style guide. Conform to onevar and unused in tests. Fixes #13755.
Diffstat (limited to 'test/unit/callbacks.js')
-rw-r--r--test/unit/callbacks.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/callbacks.js b/test/unit/callbacks.js
index 8962e5810..843c95849 100644
--- a/test/unit/callbacks.js
+++ b/test/unit/callbacks.js
@@ -56,7 +56,7 @@ jQuery.each( tests, function( strFlags, resultString ) {
}
});
- jQuery.each( filters, function( filterLabel, filter ) {
+ jQuery.each( filters, function( filterLabel ) {
jQuery.each({
"string": strFlags,
@@ -220,7 +220,7 @@ jQuery.each( tests, function( strFlags, resultString ) {
// Callbacks are not iterated
output = "";
- function handler( tmp ) {
+ function handler() {
output += "X";
}
handler.method = function() {