lint compliance

pull/1/head
ansuz 4 years ago
parent 94b907e126
commit d4fa64a1bf

@ -892,12 +892,11 @@ define([
if (o[b] - o[a] <= 0) { return -1; }
return 1;
});
var x = {};
var total = 0;
sorted.forEach(function (k) { total += o[k]; });
sorted.forEach(function (k) {
var percent = Math.floor((o[k] / total) * 1000) / 10;
appendRow(k, o[k], percent)
appendRow(k, o[k], percent);
});
};

Loading…
Cancel
Save