summaryrefslogtreecommitdiff
path: root/src/model/graph.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-11-25 14:30:11 +0200
committerAlon Levy <alon@pobox.com>2014-11-25 14:54:22 +0200
commiteeaf52fa8aaf28dd4e5f6796b33f0409b60ff86f (patch)
treea84c3e6bc2fd283db965d338d132458ba0a85d4f /src/model/graph.js
parent5aafff2aa05a3e7a1f522cb257dbcd94776612d0 (diff)
graph: add missing space in error message
Diffstat (limited to 'src/model/graph.js')
-rw-r--r--src/model/graph.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/graph.js b/src/model/graph.js
index a71ba4c5..6e4e2e18 100644
--- a/src/model/graph.js
+++ b/src/model/graph.js
@@ -47,8 +47,8 @@ function Graph() {
}
existing_node = findNode(node.id, null);
- if (existing_node){
- console.debug('__addNode: id collision: existing-node.id: \'' + existing_node.id + '\'' + 'new-node.id: \'' + node.id + '\'');
+ if (existing_node) {
+ console.debug('__addNode: id collision: existing-node.id: \'' + existing_node.id + '\' ' + 'new-node.id: \'' + node.id + '\'');
return;
}