From 168a9bfb109a4a44c185fa5d9367f6e8aec6c279 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Tue, 6 Jan 2015 22:34:38 +0200 Subject: client: fix tab switching; move to new tokenize implementation (not strictly ""right"" --- src/client/model/graph.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/model/graph.js') 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; -- cgit v1.3.1