BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
19f14cfe
Unverified
Commit
19f14cfe
authored
Apr 10, 2018
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove sideeffects, init per page
parent
eae553f8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
milestone.js
app/assets/javascripts/milestone.js
+0
-1
index.js
...sets/javascripts/pages/dashboard/milestones/show/index.js
+2
-0
index.js
app/assets/javascripts/pages/groups/milestones/show/index.js
+6
-1
No files found.
app/assets/javascripts/milestone.js
View file @
19f14cfe
...
...
@@ -5,7 +5,6 @@ import { mouseenter, debouncedMouseleave, togglePopover } from './shared/popover
export
default
class
Milestone
{
constructor
()
{
Milestone
.
initDeprecationMessage
();
this
.
bindTabsSwitching
();
// Load merge request tab if it is active
...
...
app/assets/javascripts/pages/dashboard/milestones/show/index.js
View file @
19f14cfe
...
...
@@ -6,4 +6,6 @@ document.addEventListener('DOMContentLoaded', () => {
new
Milestone
();
// eslint-disable-line no-new
new
Sidebar
();
// eslint-disable-line no-new
new
MountMilestoneSidebar
();
// eslint-disable-line no-new
Milestone
.
initDeprecationMessage
();
});
app/assets/javascripts/pages/groups/milestones/show/index.js
View file @
19f14cfe
import
initMilestonesShow
from
'~/pages/milestones/shared/init_milestones_show'
;
import
Milestone
from
'~/milestone'
;
document
.
addEventListener
(
'DOMContentLoaded'
,
initMilestonesShow
);
document
.
addEventListener
(
'DOMContentLoaded'
,
()
=>
{
initMilestonesShow
();
Milestone
.
initDeprecationMessage
();
});
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