summaryrefslogtreecommitdiff
path: root/assets/js/components/chart-project-cumulative-flow.js
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-11-25 18:51:22 -0500
committerFrederic Guillot <fred@kanboard.net>2016-11-25 18:51:22 -0500
commite64faae69aec404b2641b8ae281afe20806e8292 (patch)
treedad3680f3226d7a82631eb0378a2e929a39bcb09 /assets/js/components/chart-project-cumulative-flow.js
parentf73d369dd0a451ca6d176a318cdbf940b0a9d63d (diff)
Add jshint
Diffstat (limited to 'assets/js/components/chart-project-cumulative-flow.js')
-rw-r--r--assets/js/components/chart-project-cumulative-flow.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/assets/js/components/chart-project-cumulative-flow.js b/assets/js/components/chart-project-cumulative-flow.js
index 2c8a5682..7b258230 100644
--- a/assets/js/components/chart-project-cumulative-flow.js
+++ b/assets/js/components/chart-project-cumulative-flow.js
@@ -12,18 +12,17 @@ KB.component('chart-project-cumulative-flow', function (containerElement, option
for (var j = 0; j < metrics[i].length; j++) {
- if (i == 0) {
+ if (i === 0) {
columns.push([metrics[i][j]]);
if (j > 0) {
groups.push(metrics[i][j]);
}
- }
- else {
+ } else {
columns[j].push(metrics[i][j]);
- if (j == 0) {
+ if (j === 0) {
categories.push(outputFormat(inputFormat.parse(metrics[i][j])));
}
}