Fix clarification comment

This commit is contained in:
Aiden Bai 2022-05-02 09:10:40 -07:00
parent 40d216759c
commit f1b85fb6d9
No known key found for this signature in database
GPG Key ID: D37584388675FF3A
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@
// We only mutate document.title and content within .singlePage element
router(".singlePage");
const callback = () => {
// requestAnimationFrame()
// requestAnimationFrame() delays graph draw until SPA routing is finished
const draw = () => {
const container = document.getElementById("graph-container");
// retry if the graph is not ready