Skip to content

Commit

Permalink
Remove some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
llienher committed May 20, 2019
1 parent 451f1ce commit bb2f901
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/offline/AbstractLocalforageWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ const exports = class AbstractLocalforageWrapper {
'args': args,
'id': id
};
console.log('sending action', JSON.stringify(action, null, '\t'));
const waitingPromise = {};
const promise = new Promise((resolve, reject) => {
waitingPromise['resolve'] = resolve;
Expand All @@ -80,7 +79,6 @@ const exports = class AbstractLocalforageWrapper {
const args = action['args'] || [];
const context = action['context'];
const msg = action['msg'];
console.log('received action', JSON.stringify(action, null, '\t'));

const waitingPromise = this.waitingPromises_.get(id);
if (command === 'error') {
Expand All @@ -90,7 +88,6 @@ const exports = class AbstractLocalforageWrapper {
this.waitingPromises_.delete(id);
}
} else if (command === 'response') {
console.log('Received response message from backend');
waitingPromise.resolve(...args);
this.waitingPromises_.delete(id);
} else {
Expand Down

0 comments on commit bb2f901

Please sign in to comment.