From 2d3b15d31074a61626c91e359bc45ff03044a4d8 Mon Sep 17 00:00:00 2001 From: "David Humphrey (:humph) david.humphrey@senecacollege.ca" Date: Sat, 15 Feb 2014 15:43:38 -0500 Subject: [PATCH] Deal with jshint hating the Function constructor --- gruntfile.js | 19 +++++++++++-------- src/shell.js | 1 + 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/gruntfile.js b/gruntfile.js index 1b627ad..13fa88e 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -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: { diff --git a/src/shell.js b/src/shell.js index 06957ea..c53699a 100644 --- a/src/shell.js +++ b/src/shell.js @@ -1,3 +1,4 @@ +/* jshint evil:true */ define(function(require) { var Path = require('src/path');