UNPKG

@tabler/core

Version:

Premium and Open Source dashboard template with responsive and high quality UI.

19 lines (15 loc) 444 B
/* * Source: https://github.com/segmentio/extend */ module.exports = function extend(object) { // Takes an unlimited number of extenders. var args = Array.prototype.slice.call(arguments, 1) // For each extender, copy their properties on our object. for (var i = 0, source; (source = args[i]); i++) { if (!source) continue for (var property in source) { object[property] = source[property] } } return object }