summaryrefslogtreecommitdiff
path: root/src/client/view
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/view
parent870282c1df3bcf0ead8a0f6048aabd941220b30d (diff)
client: remove console logs and fix some undeclared variables (ff warnings)
Diffstat (limited to 'src/client/view')
-rw-r--r--src/client/view/graph_view.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js
index 178a5209..29391fc5 100644
--- a/src/client/view/graph_view.js
+++ b/src/client/view/graph_view.js
@@ -51,6 +51,7 @@ function GraphView(spec) {
force,
drag,
vis,
+ deliverables,
// FIXME - want to use parent_element
w = $(document.body).innerWidth(),
h = $(document.body).innerHeight(),
@@ -108,12 +109,6 @@ function GraphView(spec) {
graph.diffBus.onValue(function (diff) {
var relayout = !temporary && (false == model_diff.is_attr_diff(diff));
- if (relayout) {
- console.log('****** ' + graph_name + ' graph relayout *******');
- } else {
- console.log('****** ' + graph_name + ' graph update *******');
- }
- console.dir(diff);
update_view(relayout);
});
@@ -188,6 +183,7 @@ function GraphView(spec) {
link_g,
linktext,
nodetext,
+ circle,
unselected_selector = '#' + graph_name + ' #link-group',
selected_selector = '#' + graph_name + ' #selected-link-group',
unselected_link_group = document.querySelector(unselected_selector),
@@ -286,8 +282,6 @@ function GraphView(spec) {
.data(graph.nodes(), function(d) {
return d.id;
});
- console.log("update update update update");
- console.dir(node);
var nodeEnter = node.enter()
.append("g")