Skip to content
Permalink
Browse files

Changed .jshintrc predef lists to globals objects.

  • Loading branch information
stevenbenner authored and dmethvin committed Feb 28, 2013
1 parent f319f42 commit 237413e75dd3c4b76b0f9ced117f1c9c9cb98ac5
Showing with 43 additions and 42 deletions.
  1. +1 −0 AUTHORS.txt
  2. +5 −5 src/.jshintrc
  3. +37 −37 test/.jshintrc
@@ -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>
@@ -16,9 +16,9 @@
"browser": true,
"wsh": true,

"predef": [
"jQuery",
"define",
"module"
]
"globals": {
"jQuery": true,
"define": true,
"module": true
}
}
@@ -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
}
}

1 comment on commit 237413e

@scottgonzalez

This comment has been minimized.

Copy link
Member

@scottgonzalez scottgonzalez commented on 237413e Mar 26, 2013

Shouldn't some of these be false so they're treated as read-only?

Please sign in to comment.
You can’t perform that action at this time.