client/general: reduce lodash usages

This commit is contained in:
rr-
2016-05-21 08:07:16 +02:00
parent a32c5d1399
commit bae238794a
3 changed files with 38 additions and 37 deletions

View File

@ -243,7 +243,7 @@ function getTemplate(templatePath) {
if (!ctx) {
ctx = {};
}
lodash.extend(ctx, {
Object.assign(ctx, {
makeRelativeTime: makeRelativeTime,
makeThumbnail: makeThumbnail,
makeRadio: makeRadio,