securityos/node_modules/regl/lib/util/extend.js

8 lines
168 B
JavaScript

module.exports = function (base, opts) {
var keys = Object.keys(opts)
for (var i = 0; i < keys.length; ++i) {
base[keys[i]] = opts[keys[i]]
}
return base
}