mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
20 lines
403 B
JavaScript
20 lines
403 B
JavaScript
"use strict";
|
|
|
|
var _Object$defineProperty = require("babel-runtime/core-js/object/define-property")["default"];
|
|
|
|
exports["default"] = function (obj, key, value) {
|
|
if (key in obj) {
|
|
_Object$defineProperty(obj, key, {
|
|
value: value,
|
|
enumerable: true,
|
|
configurable: true,
|
|
writable: true
|
|
});
|
|
} else {
|
|
obj[key] = value;
|
|
}
|
|
|
|
return obj;
|
|
};
|
|
|
|
exports.__esModule = true; |