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
04273edd
Commit
04273edd
authored
May 10, 2021
by
Jose Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup unused code in pipelines/index.js file
parent
5bd0bd29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
16 deletions
+2
-16
app/assets/javascripts/pages/projects/pipelines/new/index.js
app/assets/javascripts/pages/projects/pipelines/new/index.js
+2
-16
No files found.
app/assets/javascripts/pages/projects/pipelines/new/index.js
View file @
04273edd
import
$
from
'
jquery
'
;
import
initNewPipelineForm
from
'
~/pipeline_new/index
'
;
import
setupNativeFormVariableList
from
'
~/ci_variable_list/native_form_variable_list
'
;
import
NewBranchForm
from
'
~/new_branch_form
'
;
import
initNewPipeline
from
'
~/pipeline_new/index
'
;
const
el
=
document
.
getElementById
(
'
js-new-pipeline
'
);
initNewPipelineForm
();
if
(
el
)
{
initNewPipeline
();
}
else
{
new
NewBranchForm
(
$
(
'
.js-new-pipeline-form
'
));
// eslint-disable-line no-new
setupNativeFormVariableList
({
container
:
$
(
'
.js-ci-variable-list-section
'
),
formField
:
'
variables_attributes
'
,
});
}
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