summaryrefslogtreecommitdiff
path: root/src/client/model/graph.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-01-06 22:34:38 +0200
committerAlon Levy <alon@pobox.com>2015-01-06 22:34:38 +0200
commit168a9bfb109a4a44c185fa5d9367f6e8aec6c279 (patch)
tree5589a47f92f6a420ae995bbd85a397b87ea44701 /src/client/model/graph.js
parentce130f4cae66a26d9b583d52309de2176803f78e (diff)
client: fix tab switching; move to new tokenize implementation (not strictly ""right""
Diffstat (limited to 'src/client/model/graph.js')
-rw-r--r--src/client/model/graph.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/model/graph.js b/src/client/model/graph.js
index c097fbfd..d7fd1add 100644
--- a/src/client/model/graph.js
+++ b/src/client/model/graph.js
@@ -146,7 +146,7 @@ function Graph(spec) {
existing_node = find_node__by_id(node.id);
if (existing_node) {
- console.log('__addNode: id collision: existing-node.id: \'' + existing_node.id + '\', ' + 'new-node.id: \'' + node.id + '\'');
+ console.log('__addNode: id collision: existing-node.id: \'' + existing_node.id);
return existing_node;
}
@@ -510,7 +510,7 @@ function Graph(spec) {
function new_attr_diff_prop_value(id, prop, value)
{
- var diff = rz_diff.new_attr_diff();
+ var diff = model_diff.new_attr_diff();
diff.add_node_attr_write(id, prop, value);
return diff;