mirror of
https://github.com/multipleof4/devsune.git
synced 2026-01-14 00:17:56 +00:00
Update index.html
This commit is contained in:
@@ -255,7 +255,7 @@ class SingleRunWS {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
this.ws.onmessage = (e) => {
|
this.ws.onmessage = (e) => {
|
||||||
window.SUNE.log(`WS msg: ${e.data.slice(0,80)}`);
|
// window.SUNE.log(`WS msg: ${e.data.slice(0,80)}`);
|
||||||
let m; try { m = JSON.parse(e.data); } catch { return; }
|
let m; try { m = JSON.parse(e.data); } catch { return; }
|
||||||
if (m.type === "delta" && typeof m.seq === "number" && m.seq > this.lastSeq) {
|
if (m.type === "delta" && typeof m.seq === "number" && m.seq > this.lastSeq) {
|
||||||
this.lastSeq = m.seq;
|
this.lastSeq = m.seq;
|
||||||
|
|||||||
Reference in New Issue
Block a user