@haiku/player
Version:
Haiku Player is a JavaScript library for building user interfaces
14 lines • 360 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
function cloneAttributes(attributes) {
if (!attributes) {
return {};
}
var clone = {};
for (var key in attributes) {
clone[key] = attributes[key];
}
return clone;
}
exports.default = cloneAttributes;
//# sourceMappingURL=cloneAttributes.js.map