refactor: move randomVal to a lib

This commit is contained in:
Blade Barringer
2016-09-26 08:14:18 -05:00
parent 331993c1df
commit 913cb16638
9 changed files with 13 additions and 15 deletions

View File

@@ -3,7 +3,7 @@ import content from '../content/index';
import i18n from '../i18n';
import { daysSince } from '../cron';
import { diminishingReturns } from '../statHelpers';
import randomVal from './randomVal';
import randomVal from '../libs/randomVal';
// TODO This is only used on the server
// move to user model as an instance method?