minor cleanup....

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-04-08 11:20:04 +03:00
parent 67151cce42
commit 15dca8755c

View File

@ -1131,10 +1131,7 @@ var UtilActions = actions.Actions({
config = config instanceof Function ? config.call(this)
: typeof(config) == typeof('str') ? this.config[config]
: config
var that = this
Object.keys(config).forEach(function(key){
that.config[key] = config[key]
})
Object.assign(this.config, config)
}],
})