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>
Dmitry Gusev <dmitry.gusev@gmail.com>
Michał Gołębiowski <m.goleb@gmail.com>
Steven Benner <admin@stevenbenner.com>

View File

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

View File

@ -15,41 +15,41 @@
"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
}
}