log generator improvements

This commit is contained in:
Spencer Alger
2014-04-23 19:06:47 -07:00
parent f00cb0b9ba
commit 4a54417f29
5 changed files with 615 additions and 72 deletions

View File

@ -111,7 +111,7 @@ WeightedList.prototype._update = function () {
sum = 0,
totals = [];
_.each(me, function (item) {
me.forEach(function (item) {
sum += item.weight;
totals.push(sum);
});