summaryrefslogtreecommitdiff
path: root/chapter18/docs
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2024-12-04 14:17:02 -0800
committerCliff Click <cliffc@acm.org>2025-01-15 15:07:30 -0800
commit38f6455c83dd68c80b2f667388d45cf6a28688ee (patch)
treef3f3662706928fc95398354a3268973b13075179 /chapter18/docs
parentd2df2a776bf2bd2d382de948d1ad83e54eb38ffc (diff)
downloadSimple-38f6455c83dd68c80b2f667388d45cf6a28688ee.tar.gz
Simple-38f6455c83dd68c80b2f667388d45cf6a28688ee.zip
Better websocket reader
fix bug double-render
Diffstat (limited to 'chapter18/docs')
-rw-r--r--chapter18/docs/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter18/docs/index.html b/chapter18/docs/index.html
index c2441202..06e19e2c 100644
--- a/chapter18/docs/index.html
+++ b/chapter18/docs/index.html
@@ -153,7 +153,7 @@
document.getElementById("program").focus();
document.getElementById("program").setSelectionRange(pos,pos+1);
}
- graphviz.renderDot(dots[idx]).on("end", _rendNext(idx,end,step))
+ graphviz.renderDot(dots[idx]).on("end", () => _rendNext(idx,end,step))
}
}
function _rendNext(idx,end,step) {