aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Antaki <ChrisAntaki@gmail.com>2014-07-25 15:23:54 -0700
committerOleg Gaidarenko <markelog@gmail.com>2014-09-02 20:31:11 +0400
commit15a609f7663c4348ab7f1acbc9e566ec20bb717c (patch)
tree25547017b7a2c9e76b938f3b54dbf821ee677f97
parent4287442ab8bdf8d9f008f3e84ccbf7d86d0fb5db (diff)
downloadjquery-15a609f7663c4348ab7f1acbc9e566ec20bb717c.tar.gz
jquery-15a609f7663c4348ab7f1acbc9e566ec20bb717c.zip
Build: Moved JSHint directives to .jshintrc file
Closes gh-1595
-rw-r--r--src/.jshintrc3
-rw-r--r--src/exports/global.js3
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,