diff options
| author | Alon Levy <alon@pobox.com> | 2014-10-21 11:19:34 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-10-21 11:19:35 +0300 |
| commit | 2f0900466a6a1bbb002d7ae95a4f03e462b9953f (patch) | |
| tree | 06d70d29c327f978c4cf3829e96b1ecff3d4089c /scripts | |
| parent | b8119bfb95550fdb9014df3a80791024a9923867 (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')
| -rw-r--r-- | scripts/rhizicore.js | 1 |
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; |
