Permalink
Browse files

remove unused vars

  • Loading branch information...
mikesherov committed Oct 16, 2012
1 parent 72bf451 commit 7f2319818238531523570ac710d729b22ea8b68a
Showing with 4 additions and 10 deletions.
  1. +2 −1 .jshintrc
  2. +2 −9 grunt.js
View
@@ -9,5 +9,6 @@
"quotmark": "double",
"smarttabs": true,
"trailing": true,
- "undef": true
+ "undef": true,
+ "unused": true
}
View
@@ -5,8 +5,7 @@
*
*/
-/*jshint node: true */
-/*global config:true, task:true, process:true*/
+/*global process:true*/
module.exports = function( grunt ) {
@@ -24,15 +23,10 @@ module.exports = function( grunt ) {
return data;
}
- var task = grunt.task;
var file = grunt.file;
- var utils = grunt.utils;
var log = grunt.log;
var verbose = grunt.verbose;
- var fail = grunt.fail;
- var option = grunt.option;
var config = grunt.config;
- var template = grunt.template;
var distpaths = [
"dist/jquery.js",
"dist/jquery.min.js"
@@ -260,8 +254,7 @@ module.exports = function( grunt ) {
"Concatenate source (include/exclude modules with +/- flags), embed date/version",
function() {
// Concat specified files.
- var i,
- compiled = "",
+ var compiled = "",
modules = this.flags,
explicit = Object.keys(modules).length > 1,
optIn = !modules["*"],

0 comments on commit 7f23198

Please sign in to comment.