summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/graphs/graphs_bundle.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/graphs/graphs_bundle.js')
-rw-r--r--app/assets/javascripts/graphs/graphs_bundle.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/graphs/graphs_bundle.js b/app/assets/javascripts/graphs/graphs_bundle.js
index 086dcb34571..ea5afbd9d29 100644
--- a/app/assets/javascripts/graphs/graphs_bundle.js
+++ b/app/assets/javascripts/graphs/graphs_bundle.js
@@ -1,4 +1,4 @@
-require('./stat_graph_contributors_graph');
-require('./stat_graph_contributors_util');
-require('./stat_graph_contributors');
-require('./stat_graph');
+import ContributorsStatGraph from './stat_graph_contributors';
+
+// export to global scope
+window.ContributorsStatGraph = ContributorsStatGraph;