complete preening and enable for challenges too

This commit is contained in:
Matteo Pagliazzi
2016-01-08 17:47:08 +01:00
parent 243b839392
commit ae852f9a2e
4 changed files with 64 additions and 55 deletions

View File

@@ -7,7 +7,7 @@ import {
MAX_LEVEL,
MAX_STAT_POINTS,
} from './constants';
import preenUserHistory from './preenUserHistory';
import { preenHistory, preenUserHistory } from './preenUserHistory';
import * as statHelpers from './statHelpers';
var $w, _, api, content, i18n, moment, sortOrder,
@@ -32,6 +32,8 @@ api.maxHealth = MAX_HEALTH;
api.tnl = statHelpers.toNextLevel;
api.diminishingReturns = statHelpers.diminishingReturns;
api.preenHistory = preenHistory;
$w = api.$w = function(s) {
return s.split(' ');
};