summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-02-23 17:46:10 -0600
committerMike Greiling <mike@pixelcog.com>2017-02-23 17:46:10 -0600
commit1adc59acc1252ed8e18c0299decaf277d361f43d (patch)
treebe51039d0a0f0d54f619db7eb27885f3d4edc08a
parentc5b29ed6f36779dbb96f4cdc7b1b0bce8bb8dc5e (diff)
downloadgitlab-ce-1adc59acc1252ed8e18c0299decaf277d361f43d.tar.gz
remove require.context from protected_branches_bundleremove-require-context-protected-branches-bundle
-rw-r--r--app/assets/javascripts/protected_branches/protected_branches_bundle.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/assets/javascripts/protected_branches/protected_branches_bundle.js b/app/assets/javascripts/protected_branches/protected_branches_bundle.js
index ffb66caf5f4..849c1e31623 100644
--- a/app/assets/javascripts/protected_branches/protected_branches_bundle.js
+++ b/app/assets/javascripts/protected_branches/protected_branches_bundle.js
@@ -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');