UNPKG

bloom-layout

Version:
13 lines (12 loc) 273 B
var has = Object.prototype.hasOwnProperty; module.exports = function assign(target, source) { if (Object.assign) { return Object.assign(target, source); } for (var key in source) { if (has.call(source, key)) { target[key] = source[key]; } } return target; };