From f0d57ed5a576a52d0d2a4382db1f001d2b3c0f48 Mon Sep 17 00:00:00 2001
From: Max <m.giller.dev@gmail.com>
Date: Fri, 9 Jul 2021 19:31:32 +0200
Subject: [PATCH] Added comment for documentation

---
 editor/js/graph.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/editor/js/graph.js b/editor/js/graph.js
index 6987a65..0f98608 100644
--- a/editor/js/graph.js
+++ b/editor/js/graph.js
@@ -24,7 +24,7 @@ const STOP_PHYSICS_DELAY = 5000; // ms
 
 const graph = {
     data: undefined,
-    externUpdate: [],
+    externUpdate: [],   // Register callbacks in this list
 
     update() {
         graph.externUpdate.forEach((fn) => fn());
-- 
GitLab