summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-04-12 20:54:56 +0000
committerGerrit Code Review <review@openstack.org>2015-04-12 20:54:56 +0000
commitedab26fc837dac3777157515a6450d04f6d05328 (patch)
treed8e55124a19c174048680846d13f80726c4b68cd
parent48cab537ea12721cc20763caf405ec288a0003b5 (diff)
parent1fa042f233c1b7c790032c6631d487c21ca1f73e (diff)
downloadhorizon-edab26fc837dac3777157515a6450d04f6d05328.tar.gz
Merge "Adding horizon to jshint"
-rw-r--r--.jshintrc1
-rw-r--r--horizon/static/horizon/js/horizon.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/.jshintrc b/.jshintrc
index 466b30809..0d32f4829 100644
--- a/.jshintrc
+++ b/.jshintrc
@@ -4,6 +4,7 @@
"evil": true,
"globals": {
+ "horizon": false,
"jQuery": false,
"$": false,
diff --git a/horizon/static/horizon/js/horizon.js b/horizon/static/horizon/js/horizon.js
index 3caf127ee..ae6a8fe35 100644
--- a/horizon/static/horizon/js/horizon.js
+++ b/horizon/static/horizon/js/horizon.js
@@ -42,4 +42,4 @@ var Horizon = function () {
};
// Create the one and only horizon object.
-var horizon = new Horizon();
+var horizon = new Horizon(); // jshint ignore:line