summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-02-22 17:04:53 -0600
committerMike Greiling <mike@pixelcog.com>2017-02-22 17:04:53 -0600
commitf326e6fb8d806ba443c64965a564d64a2f313a19 (patch)
tree095910933e54afcf1145d6a9f468ec91cd891bea
parent972b77f7a67f6a84ab18b49abf2e4b9195181bdd (diff)
downloadgitlab-ce-f326e6fb8d806ba443c64965a564d64a2f313a19.tar.gz
remove require.context from network_bundleremove-require-context-network-bundle
-rw-r--r--app/assets/javascripts/network/network_bundle.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/assets/javascripts/network/network_bundle.js b/app/assets/javascripts/network/network_bundle.js
index aae509caa79..e5947586583 100644
--- a/app/assets/javascripts/network/network_bundle.js
+++ b/app/assets/javascripts/network/network_bundle.js
@@ -2,9 +2,8 @@
/* global Network */
/* global ShortcutsNetwork */
-// require everything else in this directory
-function requireAll(context) { return context.keys().map(context); }
-requireAll(require.context('.', false, /^\.\/(?!network_bundle).*\.(js|es6)$/));
+require('./branch_graph');
+require('./network');
(function() {
$(function() {