From 564554106e30b461fd9d3e971b04f22784b5a738 Mon Sep 17 00:00:00 2001 From: Shane Tomlinson <stomlinson@mozilla.com> Date: Thu, 20 Sep 2012 11:39:06 +0100 Subject: [PATCH] Update the jshint files to contain location specific globals. --- resources/static/.jshintrc | 6 +++++- resources/static/test/.jshintrc | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/resources/static/.jshintrc b/resources/static/.jshintrc index b11b67f97..6f4853e32 100644 --- a/resources/static/.jshintrc +++ b/resources/static/.jshintrc @@ -6,17 +6,21 @@ "boss": true, "noarg": true, "undef": true, - "browser": true, "laxbreak": true, "laxcomma": true, "eqeqeq": true, "eqnull": true, "expr": true, + "jquery": true, "predef": [ "BrowserID", "_", "$", "jQuery", + "gettext", + "Channel", + "WinChan", + "Hub" ], "shadow": false, "supernew": false diff --git a/resources/static/test/.jshintrc b/resources/static/test/.jshintrc index f9c698eaa..a81e09523 100644 --- a/resources/static/test/.jshintrc +++ b/resources/static/test/.jshintrc @@ -22,11 +22,13 @@ "equal", "strictEqual", "notEqual", + "deepEqual", "start", "stop", "asyncTest", "test", - "raises" + "raises", + "module" ], "shadow": false, "supernew": false -- GitLab