Remove old js iteration
This commit is contained in:
parent
58be5ab368
commit
c261aa62d3
|
@ -118,8 +118,6 @@
|
||||||
this.psi.setMinValue(0); // Prefer setter over gauge.minValue = 0
|
this.psi.setMinValue(0); // Prefer setter over gauge.minValue = 0
|
||||||
this.psi.animationSpeed = 32; // set animation speed (32 is default value)
|
this.psi.animationSpeed = 32; // set animation speed (32 is default value)
|
||||||
this.psi.set(0); // set actual value
|
this.psi.set(0); // set actual value
|
||||||
this.maxframes=data.length;
|
|
||||||
setInterval(this.iterate, 100);
|
|
||||||
|
|
||||||
// Set up websocket connection
|
// Set up websocket connection
|
||||||
this.sock = new WebSocket("wss://" + window.location.hostname + "/ws");
|
this.sock = new WebSocket("wss://" + window.location.hostname + "/ws");
|
||||||
|
|
Loading…
Reference in New Issue