aboutsummaryrefslogtreecommitdiffstats
path: root/lib/main.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-06-19 22:08:04 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-06-19 22:08:04 +0200
commit87b9c2d6d0a1bda477f15af227d758c5fc3e55e0 (patch)
tree1781a0d60ae99c783add1205722d49da3d2d4143 /lib/main.js
parent76e764fb8e4f9d52dc92e97c6408c169142b104f (diff)
downloadbugzilla-triage-87b9c2d6d0a1bda477f15af227d758c5fc3e55e0.tar.gz
Loads a bug page without crash!!!
There is not jetpack. call in used modules.
Diffstat (limited to 'lib/main.js')
-rw-r--r--lib/main.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/main.js b/lib/main.js
index f083b3f..04d89aa 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -1,5 +1,4 @@
/*jslint onevar: false, browser: true, evil: true, laxbreak: true, undef: true, nomen: true, eqeqeq: true, bitwise: true, maxerr: 1000, immed: false, white: false, plusplus: false, regexp: false, undef: false */
-/*global jetpack */
// Released under the MIT/X11 license
// http://www.opensource.org/licenses/mit-license.php
//
@@ -88,6 +87,11 @@ function initialize(callback) {
});
}
+ if (!myStorage.logs) {
+ console.log("myStorage.logs empty!");
+ myStorage.logs = {};
+ }
+
config.logger = new logger.Logger(myStorage.logs,
config.gJSONData.constantData.bugzillalabelAbbreviations);