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
796158c3
Commit
796158c3
authored
Apr 04, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
follow jQuery variable $someConst convention
parent
7f577bda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
app/assets/javascripts/burndown_chart/index.js
app/assets/javascripts/burndown_chart/index.js
+5
-5
No files found.
app/assets/javascripts/burndown_chart/index.js
View file @
796158c3
...
...
@@ -11,12 +11,12 @@ $(() => {
// generate burndown chart (if data available)
const
container
=
'
.burndown-chart
'
;
const
chartElm
=
$
(
container
);
const
$
chartElm
=
$
(
container
);
if
(
chartElm
.
length
)
{
const
startDate
=
chartElm
.
data
(
'
startDate
'
);
const
dueDate
=
chartElm
.
data
(
'
dueDate
'
);
const
chartData
=
chartElm
.
data
(
'
chartData
'
);
if
(
$
chartElm
.
length
)
{
const
startDate
=
$
chartElm
.
data
(
'
startDate
'
);
const
dueDate
=
$
chartElm
.
data
(
'
dueDate
'
);
const
chartData
=
$
chartElm
.
data
(
'
chartData
'
);
const
openIssuesCount
=
chartData
.
map
(
d
=>
[
d
[
0
],
d
[
1
]]);
const
openIssuesWeight
=
chartData
.
map
(
d
=>
[
d
[
0
],
d
[
2
]]);
...
...
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