fix store config
This commit is contained in:
parent
7f6b41e11d
commit
e38f9a4611
5 changed files with 14 additions and 8 deletions
|
|
@ -43,11 +43,14 @@ angular
|
|||
}
|
||||
return v;
|
||||
});
|
||||
historicLog.add(level, args.join(' '));
|
||||
if (window.cordova)
|
||||
console.log(args.join(' '));
|
||||
|
||||
orig.apply(null, args)
|
||||
try {
|
||||
if (window.cordova)
|
||||
console.log(args.join(' '));
|
||||
orig.apply(null, args)
|
||||
historicLog.add(level, args.join(' '));
|
||||
} catch (e) {
|
||||
console.log('Error at log decorator:', e);
|
||||
}
|
||||
};
|
||||
});
|
||||
return $delegate;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue