diff options
author | Chris Antaki <ChrisAntaki@gmail.com> | 2014-07-25 15:23:54 -0700 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2014-09-02 20:31:11 +0400 |
commit | 15a609f7663c4348ab7f1acbc9e566ec20bb717c (patch) | |
tree | 25547017b7a2c9e76b938f3b54dbf821ee677f97 | |
parent | 4287442ab8bdf8d9f008f3e84ccbf7d86d0fb5db (diff) | |
download | jquery-15a609f7663c4348ab7f1acbc9e566ec20bb717c.tar.gz jquery-15a609f7663c4348ab7f1acbc9e566ec20bb717c.zip |
Build: Moved JSHint directives to .jshintrc file
Closes gh-1595
-rw-r--r-- | src/.jshintrc | 3 | ||||
-rw-r--r-- | 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, |