From 87b9c2d6d0a1bda477f15af227d758c5fc3e55e0 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Sat, 19 Jun 2010 22:08:04 +0200 Subject: Loads a bug page without crash!!! There is not jetpack. call in used modules. --- lib/main.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/main.js') 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); -- cgit