diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-02-22 17:04:53 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-02-22 17:04:53 -0600 |
commit | f326e6fb8d806ba443c64965a564d64a2f313a19 (patch) | |
tree | 095910933e54afcf1145d6a9f468ec91cd891bea /app/assets/javascripts/network | |
parent | 972b77f7a67f6a84ab18b49abf2e4b9195181bdd (diff) | |
download | gitlab-ce-f326e6fb8d806ba443c64965a564d64a2f313a19.tar.gz |
remove require.context from network_bundleremove-require-context-network-bundle
Diffstat (limited to 'app/assets/javascripts/network')
-rw-r--r-- | app/assets/javascripts/network/network_bundle.js | 5 |
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() { |