Commit ca9d303d authored by Alfredo Sumaran's avatar Alfredo Sumaran

Merge branch 'remove-require-context-network-bundle' into 'master'

Remove require.context from network_bundle

See merge request !9458
parents 52795c40 f326e6fb
...@@ -2,9 +2,8 @@ ...@@ -2,9 +2,8 @@
/* global Network */ /* global Network */
/* global ShortcutsNetwork */ /* global ShortcutsNetwork */
// require everything else in this directory require('./branch_graph');
function requireAll(context) { return context.keys().map(context); } require('./network');
requireAll(require.context('.', false, /^\.\/(?!network_bundle).*\.(js|es6)$/));
(function() { (function() {
$(function() { $(function() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment