From 2c4ae43e688a9873e86211ea0e7aeb9ba770dd77 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 18 Oct 2022 08:59:09 +0200 Subject: Update --- .../node_modules/@babel/runtime/helpers/createClass.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 alarm/node_modules/@babel/runtime/helpers/createClass.js (limited to 'alarm/node_modules/@babel/runtime/helpers/createClass.js') diff --git a/alarm/node_modules/@babel/runtime/helpers/createClass.js b/alarm/node_modules/@babel/runtime/helpers/createClass.js new file mode 100644 index 0000000..3c75dd6 --- /dev/null +++ b/alarm/node_modules/@babel/runtime/helpers/createClass.js @@ -0,0 +1,18 @@ +function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } +} +function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; +} +module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file -- cgit