Use underscore's assign for IE 11 compatibility

This commit is contained in:
osamasayegh
2018-05-03 10:43:07 +10:00
committed by Sam
parent 4ebf46dc08
commit 34d35923d0
@@ -22,9 +22,9 @@ function inject(context, key, value) {
function injectPlainObject(context, key, value) {
if (!context.themeSettings) {
Object.assign(context, { themeSettings: {} });
_.assign(context, { themeSettings: {} });
}
Object.assign(context.themeSettings, { [key]: value });
_.assign(context.themeSettings, { [key]: value });
}
registerHelper('theme-setting-injector', function(arr, hash) {