removed unessecary variable
This commit is contained in:
parent
bd16b403e3
commit
86c945114d
1 changed files with 0 additions and 2 deletions
|
|
@ -21,7 +21,6 @@ export class NeoCyclist {
|
||||||
this.worker_time_dif;
|
this.worker_time_dif;
|
||||||
this.worker = new SharedWorker(new URL('./clockworker.js', import.meta.url));
|
this.worker = new SharedWorker(new URL('./clockworker.js', import.meta.url));
|
||||||
this.worker.port.start();
|
this.worker.port.start();
|
||||||
this.time_dif;
|
|
||||||
|
|
||||||
this.channel = new BroadcastChannel('strudeltick');
|
this.channel = new BroadcastChannel('strudeltick');
|
||||||
let weight = 0; // the amount of weight that is applied to the current average when averaging a new time dif
|
let weight = 0; // the amount of weight that is applied to the current average when averaging a new time dif
|
||||||
|
|
@ -135,7 +134,6 @@ export class NeoCyclist {
|
||||||
}
|
}
|
||||||
stop() {
|
stop() {
|
||||||
this.worker_time_dif = null;
|
this.worker_time_dif = null;
|
||||||
this.time_dif = null;
|
|
||||||
logger('[cyclist] stop');
|
logger('[cyclist] stop');
|
||||||
this.setStarted(false);
|
this.setStarted(false);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue