Remove protected branches webpack bundle tag
This commit is contained in:
parent
9b704ef327
commit
834f4de181
4 changed files with 4 additions and 13 deletions
|
@ -4,10 +4,14 @@ import ProtectedTagCreate from '~/protected_tags/protected_tag_create';
|
|||
import ProtectedTagEditList from '~/protected_tags/protected_tag_edit_list';
|
||||
import initSettingsPanels from '~/settings_panels';
|
||||
import initDeployKeys from '~/deploy_keys';
|
||||
import ProtectedBranchCreate from '~/protected_branches/protected_branch_create';
|
||||
import ProtectedBranchEditList from '~/protected_branches/protected_branch_edit_list';
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
new ProtectedTagCreate();
|
||||
new ProtectedTagEditList();
|
||||
initDeployKeys();
|
||||
initSettingsPanels();
|
||||
new ProtectedBranchCreate(); // eslint-disable-line no-new
|
||||
new ProtectedBranchEditList(); // eslint-disable-line no-new
|
||||
});
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
/* eslint-disable no-unused-vars */
|
||||
|
||||
import ProtectedBranchCreate from './protected_branch_create';
|
||||
import ProtectedBranchEditList from './protected_branch_edit_list';
|
||||
|
||||
$(() => {
|
||||
const protectedBranchCreate = new ProtectedBranchCreate();
|
||||
const protectedBranchEditList = new ProtectedBranchEditList();
|
||||
});
|
|
@ -1,6 +1,3 @@
|
|||
- content_for :page_specific_javascripts do
|
||||
= webpack_bundle_tag('protected_branches')
|
||||
|
||||
- content_for :create_protected_branch do
|
||||
= render 'projects/protected_branches/create_protected_branch'
|
||||
|
||||
|
|
|
@ -45,7 +45,6 @@ function generateEntries() {
|
|||
const manualEntries = {
|
||||
monitoring: './monitoring/monitoring_bundle.js',
|
||||
mr_notes: './mr_notes/index.js',
|
||||
protected_branches: './protected_branches',
|
||||
terminal: './terminal/terminal_bundle.js',
|
||||
two_factor_auth: './two_factor_auth.js',
|
||||
|
||||
|
|
Loading…
Reference in a new issue