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,14 +18,17 @@ module.exports = function(grunt) {
jshint: {
// Don't bother with src/path.js
all: ['gruntfile.js',
'src/constants.js',
'src/error.js',
'src/fs.js',
'src/shared.js',
'src/providers/**/*.js',
'src/adapters/**/*.js'
]
all: [
'gruntfile.js',
'src/constants.js',
'src/error.js',
'src/fs.js',
'src/index.js',
'src/shared.js',
'src/shell.js',
'src/providers/**/*.js',
'src/adapters/**/*.js'
]
},
mocha: {

View File

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