From 2f0900466a6a1bbb002d7ae95a4f03e462b9953f Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Tue, 21 Oct 2014 11:19:34 +0300 Subject: 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 --- scripts/rhizicore.js | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') 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; -- cgit v1.3.1