aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2015-01-12 02:38:31 +0000
committerAdam Spiers <git@adamspiers.org>2015-01-12 02:38:31 +0000
commit1e5cbda04aa32328d290e8381b402d69b454cfe5 (patch)
tree9a7cbb5a02541715d32d6c68b99cec30816ad160
parent563ddecafb9d0dfd783cabc35ceb28c3d8d60f59 (diff)
downloadgit-deps-1e5cbda04aa32328d290e8381b402d69b454cfe5.tar.gz
coffeeify comment
-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