summaryrefslogtreecommitdiff
path: root/alarm/node_modules/@babel/runtime/helpers/get.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/@babel/runtime/helpers/get.js')
-rw-r--r--alarm/node_modules/@babel/runtime/helpers/get.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/alarm/node_modules/@babel/runtime/helpers/get.js b/alarm/node_modules/@babel/runtime/helpers/get.js
new file mode 100644
index 0000000..9b44d2f
--- /dev/null
+++ b/alarm/node_modules/@babel/runtime/helpers/get.js
@@ -0,0 +1,18 @@
+var superPropBase = require("./superPropBase.js");
+function _get() {
+ if (typeof Reflect !== "undefined" && Reflect.get) {
+ module.exports = _get = Reflect.get.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports;
+ } else {
+ module.exports = _get = function _get(target, property, receiver) {
+ var base = superPropBase(target, property);
+ if (!base) return;
+ var desc = Object.getOwnPropertyDescriptor(base, property);
+ if (desc.get) {
+ return desc.get.call(arguments.length < 3 ? target : receiver);
+ }
+ return desc.value;
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports;
+ }
+ return _get.apply(this, arguments);
+}
+module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file