From e64faae69aec404b2641b8ae281afe20806e8292 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 25 Nov 2016 18:51:22 -0500 Subject: Add jshint --- assets/js/components/chart-project-cumulative-flow.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'assets/js/components/chart-project-cumulative-flow.js') 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]))); } } -- cgit v1.2.3