From: Jean-Philippe Orsini Date: Mon, 3 Nov 2014 08:04:59 +0000 (+0100) Subject: removed trailing whitespaces X-Git-Tag: v1.3.3~6 X-Git-Url: http://git.wpitchoune.net/gitweb/?p=ppastats.git;a=commitdiff_plain;h=2a54358c9b2b22f51cc0647582b099296c3a0270 removed trailing whitespaces --- diff --git a/themes/default/js/ppastats.js b/themes/default/js/ppastats.js index bc10bc9..0badfe8 100644 --- a/themes/default/js/ppastats.js +++ b/themes/default/js/ppastats.js @@ -2,22 +2,22 @@ function ppastats_chart(ddts) { var data_chart = []; var max_date = null; var min_date = null; - + $.each(ddts, function(i, item) { var tm = item["time"]; var d = new Date(tm[0], tm[1]-1, tm[2]); var entry = [d, item["value"]]; data_chart.push(entry); - + if (max_date == null || max_date < d) { max_date = d; } - - if (min_date == null || min_date > d) { + + if (min_date == null || min_date > d) { min_date = d; } }); - + var plot1 = $.jqplot ('chart', [data_chart], { title: 'Daily Download Count', axes: { @@ -40,7 +40,7 @@ function ppastats_distros(distros) { var max_date = null; var min_date = null; var series_opt = []; - + $.each(distros, function(i, distro) { var arr = []; @@ -49,19 +49,19 @@ function ppastats_distros(distros) { var d = new Date(tm[0], tm[1]-1, tm[2]); var entry = [d, item["value"]]; arr.push(entry); - + if (max_date == null || max_date < d) { max_date = d; } - - if (min_date == null || min_date > d) { + + if (min_date == null || min_date > d) { min_date = d; } }); data_chart[i] = arr; series_opt[i] = {label: distro["name"]}; }); - + var plot1 = $.jqplot ('chart_distro', data_chart, { title: 'Daily Download Count by Ubuntu Distribution', axes: { @@ -92,20 +92,19 @@ function ppastats_pkg(json_url) { $("#ppa_owner").html(data["ppa_owner"]); $("#ppa_name").html(data["ppa_name"]); $("#pkg_name").html(data["name"]); - + $("#versions").append("