Solving chrome app problems
This commit is contained in:
parent
bbd00cf2d6
commit
40910c3b34
11 changed files with 204 additions and 45 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue