remove console logs

This commit is contained in:
Joao Moreno
2017-01-17 10:17:58 +01:00
parent 1a25345c48
commit 75c48336f6

View File

@@ -451,17 +451,13 @@ export class Model {
@debounce(1000)
private onWorkspaceChange(): void {
console.log('workspace changes!!!');
this.updateWhenIdleAndWait();
}
@decorate(throttle)
private async updateWhenIdleAndWait(): Promise<void> {
console.log('checking for idleness...');
await this.whenIdle();
console.log('idle now, lets do it');
await this.update();
console.log('update done, lets wait 7 seconds');
await new Promise(c => setTimeout(c, 7000));
}