Solving chrome app problems

This commit is contained in:
Matias Pando 2014-12-01 11:19:18 -03:00
commit 40910c3b34
11 changed files with 204 additions and 45 deletions

View file

@ -5,7 +5,7 @@ var ls;
try {
var LS = require('../js/plugins/LocalStorage');
ls = new LS();
} catch(e) {};
} catch (e) {};
/**
* @desc
@ -126,6 +126,7 @@ var error = new Error();
var logLevel = config.logLevel || 'info';
if (ls && ls.getItem) {
ls.getItem("config", function(err, value) {
if (err) return;