diff options
| author | Alon Levy <alon@pobox.com> | 2014-11-25 14:30:11 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-11-25 14:54:22 +0200 |
| commit | eeaf52fa8aaf28dd4e5f6796b33f0409b60ff86f (patch) | |
| tree | a84c3e6bc2fd283db965d338d132458ba0a85d4f | |
| parent | 5aafff2aa05a3e7a1f522cb257dbcd94776612d0 (diff) | |
graph: add missing space in error message
| -rw-r--r-- | src/model/graph.js | 4 |
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; } |
