summaryrefslogtreecommitdiff
path: root/scripts/rhizicore.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-10-21 11:19:34 +0300
committerAlon Levy <alon@pobox.com>2014-10-21 11:19:35 +0300
commit2f0900466a6a1bbb002d7ae95a4f03e462b9953f (patch)
tree06d70d29c327f978c4cf3829e96b1ecff3d4089c /scripts/rhizicore.js
parentb8119bfb95550fdb9014df3a80791024a9923867 (diff)
test_analyzer: better test
need better graph accessors to give only the 'real' nodes & links - that will fix some of the tests, leaving the real wrong ones
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;