From 282b05df2d86d6222f1eae92eb160ad4a47f812f Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Tue, 23 Sep 2014 20:18:28 +0300 Subject: rhizicore: adding nodes that exist is currently common practice, drop verbose logging --- scripts/rhizicore.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js index 670ed7bb..c0f61228 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -49,10 +49,7 @@ function myGraph(el) { var text = id; id = id.toLowerCase(); var node = findNode(id, null); - if (node !== undefined) { - console.log('addNode: node of same id exists: ' + id); - //graph.editState(id, null, "temp"); - } else { + if (node === undefined) { var new_node = makeNewNode({ "id": id, "text": text, -- cgit v1.3.1