summaryrefslogtreecommitdiff
path: root/src/client/model/graph.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-01-05 18:56:42 +0200
committerAlon Levy <alon@pobox.com>2015-01-05 18:57:51 +0200
commitf8fb9e68241e18e53a5cbd13cf17ebda26e08fe5 (patch)
treeab723d24f2fee44e35308d3cb5c7b421efe27cc5 /src/client/model/graph.js
parent870282c1df3bcf0ead8a0f6048aabd941220b30d (diff)
client: remove console logs and fix some undeclared variables (ff warnings)
Diffstat (limited to 'src/client/model/graph.js')
-rw-r--r--src/client/model/graph.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/model/graph.js b/src/client/model/graph.js
index 222c809b..cebd7ef1 100644
--- a/src/client/model/graph.js
+++ b/src/client/model/graph.js
@@ -109,8 +109,6 @@ function Graph(spec) {
console.log('error:');
console.dir(error);
}
- console.log("COMMIT DIFF TOPO");
- console.dir(topo_diff);
rz_api_backend.commit_diff__topo(topo_diff, __commit_diff_ajax__topo, graph_on_error);
}
this.commit_and_tx_diff__topo = commit_and_tx_diff__topo;
@@ -752,7 +750,6 @@ function Graph(spec) {
* FIXME: use a different object? different properties in the same object?
*/
function commit_diff__topo(diff) {
- console.dir(diff);
_add_node_set(diff.node_set_add);
_add_link_set(diff.link_set_add);
// done under protest
@@ -771,9 +768,8 @@ function Graph(spec) {
function load_from_backend(on_success) {
function on_success__ajax(diff) {
- console.dir(diff);
__commit_diff_ajax__topo(diff);
- undefined != on_success && on_success()
+ undefined != on_success && on_success();
}
rz_api_backend.clone(0, on_success__ajax);