From 89e95b3f143682ed9a006991bacf45c9dcba4818 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 8 Nov 2018 00:43:05 +0800 Subject: remove node_modules --- node_modules/@babel/runtime/helpers/construct.js | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 node_modules/@babel/runtime/helpers/construct.js (limited to 'node_modules/@babel/runtime/helpers/construct.js') diff --git a/node_modules/@babel/runtime/helpers/construct.js b/node_modules/@babel/runtime/helpers/construct.js deleted file mode 100644 index c20f569f..00000000 --- a/node_modules/@babel/runtime/helpers/construct.js +++ /dev/null @@ -1,22 +0,0 @@ -var _Reflect$construct = require("../core-js/reflect/construct"); - -var setPrototypeOf = require("./setPrototypeOf"); - -function _construct(Parent, args, Class) { - if (typeof Reflect !== "undefined" && _Reflect$construct) { - module.exports = _construct = _Reflect$construct; - } else { - module.exports = _construct = function _construct(Parent, args, Class) { - var a = [null]; - a.push.apply(a, args); - var Constructor = Parent.bind.apply(Parent, a); - var instance = new Constructor(); - if (Class) setPrototypeOf(instance, Class.prototype); - return instance; - }; - } - - return _construct.apply(null, arguments); -} - -module.exports = _construct; \ No newline at end of file -- cgit v1.2.3