diff options
author | Adam Spiers <git@adamspiers.org> | 2015-01-12 16:37:45 +0000 |
---|---|---|
committer | Adam Spiers <git@adamspiers.org> | 2015-01-12 16:37:45 +0000 |
commit | 1f2842ef8906f1303e4cb616bdaea7ce2284bfae (patch) | |
tree | 77cc771694db210cd017d225cc4aaf0aca17241c | |
parent | 0c89e75fc943e5bf5b97475c4fd3376f9dfe35a3 (diff) | |
download | git-deps-1f2842ef8906f1303e4cb616bdaea7ce2284bfae.tar.gz |
fix bug in calculation of row_groups
-rw-r--r-- | html/js/git-deps-layout.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/html/js/git-deps-layout.coffee b/html/js/git-deps-layout.coffee index f154d51..d5c85a9 100644 --- a/html/js/git-deps-layout.coffee +++ b/html/js/git-deps-layout.coffee @@ -44,7 +44,7 @@ dagre_row_groups = -> g = dagre_layout() row_groups = {} externs.row_groups = row_groups - for sha1 in g.nodes + for sha1 in g.nodes() x = g.node(sha1).x y = g.node(sha1).y row_groups[y] = [] unless y of row_groups |