aboutsummaryrefslogtreecommitdiffstats
path: root/html/js
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2015-01-11 11:48:52 +0000
committerAdam Spiers <git@adamspiers.org>2015-01-11 11:48:52 +0000
commit51bcdb6c38594fbad6179e54edde5db36530df05 (patch)
treeb6d26d6e2e94944318639d273f54c5e19305efbf /html/js
parentc20f9a1786fcef07671cb413fa80b73fafc1ce54 (diff)
downloadgit-deps-51bcdb6c38594fbad6179e54edde5db36530df05.tar.gz
make node global for debugging
Diffstat (limited to 'html/js')
-rw-r--r--html/js/git-deps-graph.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/html/js/git-deps-graph.js b/html/js/git-deps-graph.js
index f423177..3cd2832 100644
--- a/html/js/git-deps-graph.js
+++ b/html/js/git-deps-graph.js
@@ -207,6 +207,7 @@ function draw_graph(commitish) {
return d.sha1;
})
.call(d3cola.drag);
+ global.node = node;
node.enter().append("g")
.attr("class", "node");