diff options
Diffstat (limited to 'lib/main.js')
-rw-r--r-- | lib/main.js | 6 |
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); |