Changed .jshintrc predef lists to globals objects.

This commit is contained in:
Steven Benner 2013-02-27 23:03:17 -08:00 committed by Dave Methvin
parent f319f42db0
commit 237413e75d
3 changed files with 43 additions and 42 deletions

View File

@ -164,3 +164,4 @@ Andrew Plummer <plummer.andrew@gmail.com>
Nguyen Phuc Lam <ruado1987@gmail.com> Nguyen Phuc Lam <ruado1987@gmail.com>
Dmitry Gusev <dmitry.gusev@gmail.com> Dmitry Gusev <dmitry.gusev@gmail.com>
Michał Gołębiowski <m.goleb@gmail.com> Michał Gołębiowski <m.goleb@gmail.com>
Steven Benner <admin@stevenbenner.com>

View File

@ -16,9 +16,9 @@
"browser": true, "browser": true,
"wsh": true, "wsh": true,
"predef": [ "globals": {
"jQuery", "jQuery": true,
"define", "define": true,
"module" "module": true
] }
} }

View File

@ -15,41 +15,41 @@
"devel": true, "devel": true,
"wsh": true, "wsh": true,
"predef": [ "globals": {
"DOMParser", "DOMParser": true,
"jQuery", "jQuery": true,
"QUnit", "QUnit": true,
"module", "module": true,
"ok", "ok": true,
"equal", "equal": true,
"test", "test": true,
"asyncTest", "asyncTest": true,
"notEqual", "notEqual": true,
"deepEqual", "deepEqual": true,
"strictEqual", "strictEqual": true,
"notStrictEqual", "notStrictEqual": true,
"start", "start": true,
"stop", "stop": true,
"expect", "expect": true,
"raises", "raises": true,
"ajaxTest", "ajaxTest": true,
"testIframe", "testIframe": true,
"testIframeWithCallback", "testIframeWithCallback": true,
"createDashboardXML", "createDashboardXML": true,
"createXMLFragment", "createXMLFragment": true,
"moduleTeardown", "moduleTeardown": true,
"testFoo", "testFoo": true,
"url", "url": true,
"t", "t": true,
"q", "q": true,
"amdDefined", "amdDefined": true,
"fireNative", "fireNative": true,
"Globals", "Globals": true,
"hasPHP", "hasPHP": true,
"isLocal", "isLocal": true,
"originaljQuery", "originaljQuery": true,
"$", "$": true,
"original$", "original$": true,
"externalHost" "externalHost": true
] }
} }