]> source.dussan.org Git - jquery.git/commitdiff
Changed .jshintrc predef lists to globals objects.
authorSteven Benner <admin@stevenbenner.com>
Thu, 28 Feb 2013 07:03:17 +0000 (23:03 -0800)
committerDave Methvin <dave.methvin@gmail.com>
Tue, 26 Mar 2013 01:41:34 +0000 (21:41 -0400)
AUTHORS.txt
src/.jshintrc
test/.jshintrc

index aba1f8123202774b243d595d6f67123b043baa03..f2a2b4401f22b87da961738ce213da6f223cbbfe 100644 (file)
@@ -164,3 +164,4 @@ Andrew Plummer <plummer.andrew@gmail.com>
 Nguyen Phuc Lam <ruado1987@gmail.com>
 Dmitry Gusev <dmitry.gusev@gmail.com>
 Michał Gołębiowski <m.goleb@gmail.com>
+Steven Benner <admin@stevenbenner.com>
index a331067e196e1c4a03d8e0309adeca3630f90198..fff75a6a8a0bf03c37b24865413f59de1dc81c4f 100644 (file)
@@ -16,9 +16,9 @@
        "browser": true,
        "wsh": true,
 
-       "predef": [
-               "jQuery",
-               "define",
-               "module"
-       ]
+       "globals": {
+               "jQuery": true,
+               "define": true,
+               "module": true
+       }
 }
index 76e215f1eed5b12b8f443647625546db9fb8d8a1..5e4f23fc7b02127685b3878c3a91e100eeca4201 100644 (file)
        "devel": true,
        "wsh": true,
 
-       "predef": [
-               "DOMParser",
-               "jQuery",
-               "QUnit",
-               "module",
-               "ok",
-               "equal",
-               "test",
-               "asyncTest",
-               "notEqual",
-               "deepEqual",
-               "strictEqual",
-               "notStrictEqual",
-               "start",
-               "stop",
-               "expect",
-               "raises",
-               "ajaxTest",
-               "testIframe",
-               "testIframeWithCallback",
-               "createDashboardXML",
-               "createXMLFragment",
-               "moduleTeardown",
-               "testFoo",
-               "url",
-               "t",
-               "q",
-               "amdDefined",
-               "fireNative",
-               "Globals",
-               "hasPHP",
-               "isLocal",
-               "originaljQuery",
-               "$",
-               "original$",
-               "externalHost"
-  ]
+       "globals": {
+               "DOMParser": true,
+               "jQuery": true,
+               "QUnit": true,
+               "module": true,
+               "ok": true,
+               "equal": true,
+               "test": true,
+               "asyncTest": true,
+               "notEqual": true,
+               "deepEqual": true,
+               "strictEqual": true,
+               "notStrictEqual": true,
+               "start": true,
+               "stop": true,
+               "expect": true,
+               "raises": true,
+               "ajaxTest": true,
+               "testIframe": true,
+               "testIframeWithCallback": true,
+               "createDashboardXML": true,
+               "createXMLFragment": true,
+               "moduleTeardown": true,
+               "testFoo": true,
+               "url": true,
+               "t": true,
+               "q": true,
+               "amdDefined": true,
+               "fireNative": true,
+               "Globals": true,
+               "hasPHP": true,
+               "isLocal": true,
+               "originaljQuery": true,
+               "$": true,
+               "original$": true,
+               "externalHost": true
+       }
 }