summaryrefslogtreecommitdiff
path: root/scripts/rhizicore.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/rhizicore.js')
-rw-r--r--scripts/rhizicore.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js
index 9c2d299f..b53774ea 100644
--- a/scripts/rhizicore.js
+++ b/scripts/rhizicore.js
@@ -505,6 +505,7 @@ function myGraph(el) {
nodes.length = 0;
links.length = 0;
}
+ this.clear = clear;
function empty() {
return nodes.length == 0 && links.length == 0;