summaryrefslogtreecommitdiffstats
path: root/node_modules/babel-runtime/helpers/inherits.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/babel-runtime/helpers/inherits.js')
-rw-r--r--node_modules/babel-runtime/helpers/inherits.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/node_modules/babel-runtime/helpers/inherits.js b/node_modules/babel-runtime/helpers/inherits.js
deleted file mode 100644
index ae8a92d..0000000
--- a/node_modules/babel-runtime/helpers/inherits.js
+++ /dev/null
@@ -1,33 +0,0 @@
-"use strict";
-
-exports.__esModule = true;
-
-var _setPrototypeOf = require("../core-js/object/set-prototype-of");
-
-var _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);
-
-var _create = require("../core-js/object/create");
-
-var _create2 = _interopRequireDefault(_create);
-
-var _typeof2 = require("../helpers/typeof");
-
-var _typeof3 = _interopRequireDefault(_typeof2);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-exports.default = function (subClass, superClass) {
- if (typeof superClass !== "function" && superClass !== null) {
- throw new TypeError("Super expression must either be null or a function, not " + (typeof superClass === "undefined" ? "undefined" : (0, _typeof3.default)(superClass)));
- }
-
- subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {
- constructor: {
- value: subClass,
- enumerable: false,
- writable: true,
- configurable: true
- }
- });
- if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;
-}; \ No newline at end of file