mirror of
https://github.com/CamHenlin/MessagesForMacintosh.git
synced 2024-12-12 00:29:07 +00:00
19 lines
550 B
JavaScript
19 lines
550 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
function assign(target) {
|
|
var sources = [];
|
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
sources[_i - 1] = arguments[_i];
|
|
}
|
|
sources.forEach(function (source) {
|
|
if (typeof source === 'undefined' || source === null) {
|
|
return;
|
|
}
|
|
Object.keys(source).forEach(function (key) {
|
|
target[key] = source[key];
|
|
});
|
|
});
|
|
return target;
|
|
}
|
|
exports.assign = assign;
|
|
//# sourceMappingURL=assign.js.map
|