aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--html/js/git-deps-graph.coffee9
1 files changed, 4 insertions, 5 deletions
diff --git a/html/js/git-deps-graph.coffee b/html/js/git-deps-graph.coffee
index 202487d..153cb6b 100644
--- a/html/js/git-deps-graph.coffee
+++ b/html/js/git-deps-graph.coffee
@@ -198,11 +198,10 @@ draw_graph = (commitish) ->
.attr("class", "node")
# Failed attempt to use dagre layout as starting positions
# https://github.com/tgdwyer/WebCola/issues/63
- # .each(function (d, i) {
- # var n = gdl.node(d.sha1);
- # d.x = n.x;
- # d.y = n.y;
- # });
+ # .each((d, i) ->
+ # n = gdl.node d.sha1
+ # d.x = n.x
+ # d.y = n.y
init_tip() unless tip?
draw_nodes fg, nodes