aboutsummaryrefslogtreecommitdiffstats
path: root/html/js/git-deps-graph.js
diff options
context:
space:
mode:
Diffstat (limited to 'html/js/git-deps-graph.js')
-rw-r--r--html/js/git-deps-graph.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/html/js/git-deps-graph.js b/html/js/git-deps-graph.js
index 73c3196..45772f5 100644
--- a/html/js/git-deps-graph.js
+++ b/html/js/git-deps-graph.js
@@ -28,10 +28,18 @@ var deps = {};
// d3 visualization elements. Kept global to aid in-browser debugging.
var svg, fg, node, path, tip, tip_template;
+// Options will be retrieved from web server
+var options;
+
jQuery(function () {
+ d3.json('options', function (error, data) {
+ options = data;
+ });
+
d3.html('tip-template.html', function (error, html) {
tip_template = html;
});
+
//setup_default_form_values();
$('form.commitish').submit(function (event) {
event.preventDefault();