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

Version Path
ezii-os-5.2.1 node_modules/sass-graph/node_modules/yargs/lib/assign.js
ezii-os-2.0.1 node_modules/sass-graph/node_modules/yargs/lib/assign.js
ezii-os-1.1.0 node_modules/sass-graph/node_modules/yargs/lib/assign.js
ezii-os-1.0.0 node_modules/sass-graph/node_modules/yargs/lib/assign.js
ezii-os-0.0.0.1.0 node_modules/sass-graph/node_modules/yargs/lib/assign.js
ezii-os-0.0.0.0.1 node_modules/sass-graph/node_modules/yargs/lib/assign.js
optimacms-0.4.3 spec/dummy/node_modules/sass-graph/node_modules/yargs/lib/assign.js
optimacms-0.4.3 spec/dummy/node_modules/webpack-dev-server/node_modules/yargs/lib/assign.js
optimacms-0.4.3 spec/dummy/node_modules/yargs/lib/assign.js
optimacms-0.4.2 spec/dummy/node_modules/yargs/lib/assign.js
optimacms-0.4.2 spec/dummy/node_modules/webpack-dev-server/node_modules/yargs/lib/assign.js
optimacms-0.4.2 spec/dummy/node_modules/sass-graph/node_modules/yargs/lib/assign.js
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/sass-graph/node_modules/yargs/lib/assign.js
lux_assets-0.2.11 ./node_modules/yargs/lib/assign.js
lux_assets-0.2.9 ./node_modules/yargs/lib/assign.js
lux_assets-0.2.4 ./node_modules/yargs/lib/assign.js
lux_assets-0.2.2 ./node_modules/yargs/lib/assign.js
lux_assets-0.2.1 ./node_modules/yargs/lib/assign.js
locomotivecms-3.4.0 app/javascript/node_modules/sass-graph/node_modules/yargs/lib/assign.js
cortex-0.1.3 spec/dummy/node_modules/sass-graph/node_modules/yargs/lib/assign.js