aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AUTHORS.txt1
-rw-r--r--src/.jshintrc10
-rw-r--r--test/.jshintrc74
3 files changed, 43 insertions, 42 deletions
diff --git a/AUTHORS.txt b/AUTHORS.txt
index aba1f8123..f2a2b4401 100644
--- a/AUTHORS.txt
+++ b/AUTHORS.txt
@@ -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>
diff --git a/src/.jshintrc b/src/.jshintrc
index a331067e1..fff75a6a8 100644
--- a/src/.jshintrc
+++ b/src/.jshintrc
@@ -16,9 +16,9 @@
"browser": true,
"wsh": true,
- "predef": [
- "jQuery",
- "define",
- "module"
- ]
+ "globals": {
+ "jQuery": true,
+ "define": true,
+ "module": true
+ }
}
diff --git a/test/.jshintrc b/test/.jshintrc
index 76e215f1e..5e4f23fc7 100644
--- a/test/.jshintrc
+++ b/test/.jshintrc
@@ -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
+ }
}