]> source.dussan.org Git - jquery.git/commitdiff
Build: Moved JSHint directives to .jshintrc file
authorChris Antaki <ChrisAntaki@gmail.com>
Fri, 25 Jul 2014 22:23:54 +0000 (15:23 -0700)
committerOleg Gaidarenko <markelog@gmail.com>
Tue, 2 Sep 2014 16:31:11 +0000 (20:31 +0400)
Closes gh-1595

src/.jshintrc
src/exports/global.js

index ba16cd5db47157930be7af51fcac5c8c22f7ab8d..93e3202469d656f193cc4888b538a83a04c17035 100644 (file)
@@ -20,6 +20,7 @@
        "globals": {
                "jQuery": true,
                "define": true,
-               "module": true
+               "module": true,
+               "noGlobal": true
        }
 }
index 1db41449d2ea842fbdbe27880c6816c5cf3b6cb2..d96cc4d93817e6a7fee8511fc28e652f61316017 100644 (file)
@@ -2,9 +2,6 @@ define([
        "../core"
 ], function( jQuery ) {
 
-/* exported noGlobal */
-/* global   noGlobal: false */
-
 var
        // Map over jQuery in case of overwrite
        _jQuery = window.jQuery,