Permalink
Browse files

Patched up lint errors

  • Loading branch information...
1 parent a1aa8f6 commit bc1addab19cdae5d20522a5df9465b2c9cc19f58 @twolfson committed Feb 26, 2013
Showing with 7 additions and 5 deletions.
  1. +4 −2 grunt.js
  2. +3 −3 tasks/curl.js
View
@@ -14,15 +14,17 @@ module.exports = function(grunt) {
curly: true,
eqeqeq: true,
immed: true,
- latedef: true,
+ // latedef: true,
newcap: true,
noarg: true,
sub: true,
undef: true,
boss: true,
eqnull: true,
node: true,
- es5: true
+ es5: true,
+
+ strict: false
},
globals: {}
}
View
@@ -151,12 +151,12 @@ module.exports = function (grunt) {
// Fallback helper helper
function helper(name) {
// Look up and assert the helper exists
- var helper = helpers[name];
- assert(helper, 'GRUNT HELPER: "' + name + '" could not be found.');
+ var helperFn = helpers[name];
+ assert(helperFn, 'GRUNT HELPER: "' + name + '" could not be found.');
// Call the helper with the arguments
var args = [].slice.call(arguments, 1);
- return helper.apply(this, args);
+ return helperFn.apply(this, args);
}
grunt.helper = grunt.helper || helper;

0 comments on commit bc1adda

Please sign in to comment.