From 15a609f7663c4348ab7f1acbc9e566ec20bb717c Mon Sep 17 00:00:00 2001 From: Chris Antaki Date: Fri, 25 Jul 2014 15:23:54 -0700 Subject: [PATCH] Build: Moved JSHint directives to .jshintrc file Closes gh-1595 --- src/.jshintrc | 3 ++- src/exports/global.js | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/.jshintrc b/src/.jshintrc index ba16cd5db..93e320246 100644 --- a/src/.jshintrc +++ b/src/.jshintrc @@ -20,6 +20,7 @@ "globals": { "jQuery": true, "define": true, - "module": true + "module": true, + "noGlobal": true } } diff --git a/src/exports/global.js b/src/exports/global.js index 1db41449d..d96cc4d93 100644 --- a/src/exports/global.js +++ b/src/exports/global.js @@ -2,9 +2,6 @@ define([ "../core" ], function( jQuery ) { -/* exported noGlobal */ -/* global noGlobal: false */ - var // Map over jQuery in case of overwrite _jQuery = window.jQuery, -- 2.39.5