summaryrefslogtreecommitdiff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2017-02-23 02:53:01 +0000
committerAlfredo Sumaran <alfredo@gitlab.com>2017-02-23 02:53:01 +0000
commit3651689e1a51ce13e810414df025a07de7e48bde (patch)
tree81a022be7f5460fc1b37db5413ece63b178d39bc /app/assets/javascripts
parentca9d303db735d4a70d906745bf3ce5e479473d2e (diff)
parent87b19b8cae067bd328c1e6a1cec4fa06a73e8b96 (diff)
downloadgitlab-ce-3651689e1a51ce13e810414df025a07de7e48bde.tar.gz
Merge branch 'remove-require-context-graphs-bundle' into 'master'
Remove require.context from graphs_bundle See merge request !9459
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/graphs/graphs_bundle.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/assets/javascripts/graphs/graphs_bundle.js b/app/assets/javascripts/graphs/graphs_bundle.js
index 4f7777aa5bc..086dcb34571 100644
--- a/app/assets/javascripts/graphs/graphs_bundle.js
+++ b/app/assets/javascripts/graphs/graphs_bundle.js
@@ -1,3 +1,4 @@
-// require everything else in this directory
-function requireAll(context) { return context.keys().map(context); }
-requireAll(require.context('.', false, /^\.\/(?!graphs_bundle).*\.(js|es6)$/));
+require('./stat_graph_contributors_graph');
+require('./stat_graph_contributors_util');
+require('./stat_graph_contributors');
+require('./stat_graph');