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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
834f4de1
Commit
834f4de1
authored
Mar 02, 2018
by
Clement Ho
Committed by
Jacob Schatz
Mar 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove protected branches webpack bundle tag
parent
9b704ef3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
13 deletions
+4
-13
app/assets/javascripts/pages/projects/settings/repository/show/index.js
...ascripts/pages/projects/settings/repository/show/index.js
+4
-0
app/assets/javascripts/protected_branches/index.js
app/assets/javascripts/protected_branches/index.js
+0
-9
app/views/projects/protected_branches/_index.html.haml
app/views/projects/protected_branches/_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 @
834f4de1
...
@@ -4,10 +4,14 @@ import ProtectedTagCreate from '~/protected_tags/protected_tag_create';
...
@@ -4,10 +4,14 @@ import ProtectedTagCreate from '~/protected_tags/protected_tag_create';
import
ProtectedTagEditList
from
'
~/protected_tags/protected_tag_edit_list
'
;
import
ProtectedTagEditList
from
'
~/protected_tags/protected_tag_edit_list
'
;
import
initSettingsPanels
from
'
~/settings_panels
'
;
import
initSettingsPanels
from
'
~/settings_panels
'
;
import
initDeployKeys
from
'
~/deploy_keys
'
;
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
'
,
()
=>
{
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
new
ProtectedTagCreate
();
new
ProtectedTagCreate
();
new
ProtectedTagEditList
();
new
ProtectedTagEditList
();
initDeployKeys
();
initDeployKeys
();
initSettingsPanels
();
initSettingsPanels
();
new
ProtectedBranchCreate
();
// eslint-disable-line no-new
new
ProtectedBranchEditList
();
// eslint-disable-line no-new
});
});
app/assets/javascripts/protected_branches/index.js
deleted
100644 → 0
View file @
9b704ef3
/* 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
();
});
app/views/projects/protected_branches/_index.html.haml
View file @
834f4de1
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
(
'protected_branches'
)
-
content_for
:create_protected_branch
do
-
content_for
:create_protected_branch
do
=
render
'projects/protected_branches/create_protected_branch'
=
render
'projects/protected_branches/create_protected_branch'
...
...
config/webpack.config.js
View file @
834f4de1
...
@@ -45,7 +45,6 @@ function generateEntries() {
...
@@ -45,7 +45,6 @@ function generateEntries() {
const
manualEntries
=
{
const
manualEntries
=
{
monitoring
:
'
./monitoring/monitoring_bundle.js
'
,
monitoring
:
'
./monitoring/monitoring_bundle.js
'
,
mr_notes
:
'
./mr_notes/index.js
'
,
mr_notes
:
'
./mr_notes/index.js
'
,
protected_branches
:
'
./protected_branches
'
,
terminal
:
'
./terminal/terminal_bundle.js
'
,
terminal
:
'
./terminal/terminal_bundle.js
'
,
two_factor_auth
:
'
./two_factor_auth.js
'
,
two_factor_auth
:
'
./two_factor_auth.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