From 0ba5c9c07dc40871cdd563ad76d1e72a8a16bd78 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 18 May 2018 15:44:30 -0700 Subject: [PATCH] lint: Fix extra long lines in stats.js. I'm not sure why this wasn't reported in CI. --- static/js/stats/stats.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/static/js/stats/stats.js b/static/js/stats/stats.js index 61820b5f02..5efadaa28f 100644 --- a/static/js/stats/stats.js +++ b/static/js/stats/stats.js @@ -188,7 +188,9 @@ function populate_messages_sent_over_time(data) { var current = {human: 0, bot: 0, me: 0}; var i_init = 0; if (is_boundary(start_dates[0])) { - current = {human: data.everyone.human[0], bot: data.everyone.bot[0], me: data.user.human[0]}; + current = {human: data.everyone.human[0], + bot: data.everyone.bot[0], + me: data.user.human[0]}; i_init = 1; } for (var i = i_init; i < start_dates.length; i += 1) { @@ -382,7 +384,8 @@ function populate_messages_sent_by_client(data) { }; // sort labels so that values are descending in the default view - var everyone_month = compute_summary_chart_data(data.everyone, 30, data.display_order.slice(0, 12)); + var everyone_month = compute_summary_chart_data( + data.everyone, 30, data.display_order.slice(0, 12)); var label_values = []; for (var i=0; i