Remove console.logs
parent
398e452308
commit
e6faaca67c
|
@ -78,14 +78,12 @@ export class SyncService implements ISyncService {
|
||||||
);
|
);
|
||||||
|
|
||||||
eventHook.addLocalListener("editor:pageSaving", () => {
|
eventHook.addLocalListener("editor:pageSaving", () => {
|
||||||
console.log("Saving...");
|
|
||||||
this.savingTimeout = setTimeout(() => {
|
this.savingTimeout = setTimeout(() => {
|
||||||
this.savingTimeout = undefined;
|
this.savingTimeout = undefined;
|
||||||
}, 1000 * 5);
|
}, 1000 * 5);
|
||||||
});
|
});
|
||||||
|
|
||||||
eventHook.addLocalListener("editor:pageSaved", (name) => {
|
eventHook.addLocalListener("editor:pageSaved", (name) => {
|
||||||
console.log("Done saving...");
|
|
||||||
if (this.savingTimeout) {
|
if (this.savingTimeout) {
|
||||||
clearTimeout(this.savingTimeout);
|
clearTimeout(this.savingTimeout);
|
||||||
this.savingTimeout = undefined;
|
this.savingTimeout = undefined;
|
||||||
|
|
Loading…
Reference in New Issue