Merge branch 'remove-require-context-protected-branches-bundle' into 'master'

Remove require.context from protected_branches_bundle

See merge request !9493
This commit is contained in:
Alfredo Sumaran 2017-02-24 19:44:59 +00:00
commit 6bbb8efa36
1 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,5 @@
// require everything else in this directory
function requireAll(context) { return context.keys().map(context); }
requireAll(require.context('.', false, /^\.\/(?!protected_branches_bundle).*\.(js|es6)$/));
require('./protected_branch_access_dropdown');
require('./protected_branch_create');
require('./protected_branch_dropdown');
require('./protected_branch_edit');
require('./protected_branch_edit_list');