Removed protected_tags webpack bundle
This commit is contained in:
parent
132452a6c1
commit
fd598fd6bd
4 changed files with 9 additions and 14 deletions
|
@ -1,3 +1,11 @@
|
|||
/* eslint-disable no-new */
|
||||
|
||||
import ProtectedTagCreate from '~/protected_tags/protected_tag_create';
|
||||
import ProtectedTagEditList from '~/protected_tags/protected_tag_edit_list';
|
||||
import initSettingsPanels from '~/settings_panels';
|
||||
|
||||
document.addEventListener('DOMContentLoaded', initSettingsPanels);
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
new ProtectedTagCreate();
|
||||
new ProtectedTagEditList();
|
||||
initSettingsPanels();
|
||||
});
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
/* eslint-disable no-unused-vars */
|
||||
|
||||
import ProtectedTagCreate from './protected_tag_create';
|
||||
import ProtectedTagEditList from './protected_tag_edit_list';
|
||||
|
||||
$(() => {
|
||||
const protectedtTagCreate = new ProtectedTagCreate();
|
||||
const protectedtTagEditList = new ProtectedTagEditList();
|
||||
});
|
|
@ -1,6 +1,3 @@
|
|||
- content_for :page_specific_javascripts do
|
||||
= webpack_bundle_tag('protected_tags')
|
||||
|
||||
- content_for :create_protected_tag do
|
||||
= render 'projects/protected_tags/create_protected_tag'
|
||||
|
||||
|
|
|
@ -71,7 +71,6 @@ var config = {
|
|||
profile: './profile/profile_bundle.js',
|
||||
project_import_gl: './projects/project_import_gitlab_project.js',
|
||||
protected_branches: './protected_branches',
|
||||
protected_tags: './protected_tags',
|
||||
registry_list: './registry/index.js',
|
||||
sidebar: './sidebar/sidebar_bundle.js',
|
||||
snippet: './snippet/snippet_bundle.js',
|
||||
|
|
Loading…
Reference in a new issue