Deal with jshint hating the Function constructor

This commit is contained in:
David Humphrey (:humph) david.humphrey@senecacollege.ca 2014-02-15 15:43:38 -05:00
parent 263b9cd9b0
commit 2d3b15d310
2 changed files with 12 additions and 8 deletions

View File

@ -18,11 +18,14 @@ module.exports = function(grunt) {
jshint: { jshint: {
// Don't bother with src/path.js // Don't bother with src/path.js
all: ['gruntfile.js', all: [
'gruntfile.js',
'src/constants.js', 'src/constants.js',
'src/error.js', 'src/error.js',
'src/fs.js', 'src/fs.js',
'src/index.js',
'src/shared.js', 'src/shared.js',
'src/shell.js',
'src/providers/**/*.js', 'src/providers/**/*.js',
'src/adapters/**/*.js' 'src/adapters/**/*.js'
] ]

View File

@ -1,3 +1,4 @@
/* jshint evil:true */
define(function(require) { define(function(require) {
var Path = require('src/path'); var Path = require('src/path');