summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-02-22 17:01:41 -0600
committerMike Greiling <mike@pixelcog.com>2017-02-22 17:01:41 -0600
commit87b19b8cae067bd328c1e6a1cec4fa06a73e8b96 (patch)
tree0586e405d489cd7761e79b4e52406a901a3d5849
parent972b77f7a67f6a84ab18b49abf2e4b9195181bdd (diff)
downloadgitlab-ce-remove-require-context-graphs-bundle.tar.gz
remove require.context from graphs_bundleremove-require-context-graphs-bundle
-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');