Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
fd598fd6
Commit
fd598fd6
authored
Feb 23, 2018
by
Constance Okoghenun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed protected_tags webpack bundle
parent
132452a6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
14 deletions
+9
-14
app/assets/javascripts/pages/projects/settings/repository/show/index.js
...ascripts/pages/projects/settings/repository/show/index.js
+9
-1
app/assets/javascripts/protected_tags/index.js
app/assets/javascripts/protected_tags/index.js
+0
-9
app/views/projects/protected_tags/_index.html.haml
app/views/projects/protected_tags/_index.html.haml
+0
-3
config/webpack.config.js
config/webpack.config.js
+0
-1
No files found.
app/assets/javascripts/pages/projects/settings/repository/show/index.js
View file @
fd598fd6
/* 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
();
});
app/assets/javascripts/protected_tags/index.js
deleted
100644 → 0
View file @
132452a6
/* 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
();
});
app/views/projects/protected_tags/_index.html.haml
View file @
fd598fd6
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
(
'protected_tags'
)
-
content_for
:create_protected_tag
do
=
render
'projects/protected_tags/create_protected_tag'
...
...
config/webpack.config.js
View file @
fd598fd6
...
...
@@ -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
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment