]> source.dussan.org Git - jquery-ui.git/commitdiff
Build: Use globals instead of predef for JSHint.
authorScott González <scott.gonzalez@gmail.com>
Tue, 26 Mar 2013 18:44:32 +0000 (14:44 -0400)
committerScott González <scott.gonzalez@gmail.com>
Tue, 26 Mar 2013 18:44:32 +0000 (14:44 -0400)
tests/.jshintrc
ui/.jshintrc

index c196d86ef9db7f514963edfa555a808d990f1f09..b987c5df68a5f0e675b0255ee7a303c0534d8245 100644 (file)
        "trailing": true,
        "undef": true,
        "unused": true,
-       "predef": [
-               "asyncTest",
-               "closeEnough",
-               "deepEqual",
-               "domEqual",
-               "equal",
-               "expect",
-               "Globalize",
-               "module",
-               "notEqual",
-               "notDeepEqual",
-               "notStrictEqual",
-               "ok",
-               "QUnit",
-               "start",
-               "strictEqual",
-               "stop",
-               "test",
-               "TestHelpers",
-               "JSHINT"
-       ]
+       "globals": {
+               "asyncTest": false,
+               "closeEnough": false,
+               "deepEqual": false,
+               "domEqual": false,
+               "equal": false,
+               "expect": false,
+               "Globalize": false,
+               "module": false,
+               "notEqual": false,
+               "notDeepEqual": false,
+               "notStrictEqual": false,
+               "ok": false,
+               "QUnit": true,
+               "start": false,
+               "strictEqual": false,
+               "stop": false,
+               "test": false,
+               "TestHelpers": true,
+               "JSHINT": false
+       }
 }
\ No newline at end of file
index c7589525f3afacec31bcf311cfcd7292dece75cb..578ee94a17b80309596f103a3da7db3f02b9d962 100644 (file)
@@ -12,7 +12,7 @@
        "trailing": true,
        "undef": true,
        "unused": true,
-       "predef": [
-               "Globalize"
-       ]
+       "globals": {
+               "Globalize": false
+       }
 }