Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Ivan Vargas Lopez <jvargas@gitlab.com>2017-03-20 22:54:03 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2017-03-20 22:54:03 +0300
commitb9120c77e934daa73855763a6ce0e9e734f6d228 (patch)
treef875c16ed94d681aafcbfe077e34ba99b5840fd8 /app/assets/javascripts/monitoring/monitoring_bundle.js
parent5bdab11f5ca35cc83b3b55d16d4e1bc0b8408e30 (diff)
Removed d3.js from the main application.js bundle
Diffstat (limited to 'app/assets/javascripts/monitoring/monitoring_bundle.js')
-rw-r--r--app/assets/javascripts/monitoring/monitoring_bundle.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/monitoring/monitoring_bundle.js b/app/assets/javascripts/monitoring/monitoring_bundle.js
new file mode 100644
index 00000000000..b3ce9310417
--- /dev/null
+++ b/app/assets/javascripts/monitoring/monitoring_bundle.js
@@ -0,0 +1,6 @@
+import PrometheusGraph from './prometheus_graph';
+
+document.addEventListener('DOMContentLoaded', function onLoad() {
+ document.removeEventListener('DOMContentLoaded', onLoad, false);
+ return new PrometheusGraph();
+}, false);