Sha256: 0d9df4e8a9daac240b93d24da0ba08e1499d4fc1215656a6165cbabd5c87c808
Contents?: true
Size: 413 Bytes
Versions: 43
Compression:
Stored size: 413 Bytes
Contents
// lazy Object.assign logic that only works for merging // two objects; eventually we should replace this with Object.assign. module.exports = function assign (defaults, configuration) { var o = {} configuration = configuration || {} Object.keys(defaults).forEach(function (k) { o[k] = defaults[k] }) Object.keys(configuration).forEach(function (k) { o[k] = configuration[k] }) return o }
Version data entries
43 entries across 25 versions & 10 rubygems