Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshu-satija committed Oct 22, 2020
1 parent 9e696c9 commit 5ede3ba
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/DocStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,21 +175,21 @@ by passing name in plugin configuration to createPlugin.
depth,
});

console.log(
'$$$$added observer with id ',
{
subtree,
path,
callback,
depth,
},
observerId
);
// console.log(
// '$$$$added observer with id ',
// {
// subtree,
// path,
// callback,
// depth,
// },
// observerId
// );
});

return () => {
this.observers.delete(observerId);
console.log('$$$$$removing observer with id ', observerId);
// console.log('$$$$$removing observer with id ', observerId);
};
};

Expand Down Expand Up @@ -244,7 +244,7 @@ by passing name in plugin configuration to createPlugin.
this.postObserve(() => {
// postObserve bcoz otherwise a new observer gets added to the end of the array when calling
// a previous observer leading to an infinite loop
console.log('$$$$compute observer 1');
// console.log('$$$$compute observer 1');
const dispose = this.observe(
subtree,
watchPath,
Expand All @@ -256,7 +256,7 @@ by passing name in plugin configuration to createPlugin.
);
});
} else {
console.log('$$$$compute observer 2');
// console.log('$$$$compute observer 2');
const dispose = this.observe(
subtree,
watchPath,
Expand Down

0 comments on commit 5ede3ba

Please sign in to comment.