source: imaps-frontend/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 653 bytes
Line 
1function _applyDecoratedDescriptor(i, e, r, n, l) {
2 var a = {};
3 return Object.keys(n).forEach(function (i) {
4 a[i] = n[i];
5 }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) {
6 return n(i, e, r) || r;
7 }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a;
8}
9module.exports = _applyDecoratedDescriptor, module.exports.__esModule = true, module.exports["default"] = module.exports;
Note: See TracBrowser for help on using the repository browser.