* Revert "Move subclass inheritance to end (#7772)" This reverts commit f8ab9466d331871a90f458af40b14e8d831e0c29. * Only use getPrototypeOf if setPrototypeOf is implemented * Update fixtures * Helpers updates * Update fixtures * Fall back to getPrototypeOf * Update fixtures
55 lines
1.0 KiB
JavaScript
55 lines
1.0 KiB
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
|
|
var b = function b() {
|
|
babelHelpers.classCallCheck(this, b);
|
|
};
|
|
|
|
var a1 =
|
|
/*#__PURE__*/
|
|
function (_b) {
|
|
babelHelpers.inherits(a1, _b);
|
|
|
|
function a1() {
|
|
var _this;
|
|
|
|
babelHelpers.classCallCheck(this, a1);
|
|
_this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(a1).call(this));
|
|
|
|
_this.x = function () {
|
|
return babelHelpers.assertThisInitialized(babelHelpers.assertThisInitialized(_this));
|
|
};
|
|
|
|
return _this;
|
|
}
|
|
|
|
return a1;
|
|
}(b);
|
|
|
|
var a2 =
|
|
/*#__PURE__*/
|
|
function (_b2) {
|
|
babelHelpers.inherits(a2, _b2);
|
|
|
|
function a2() {
|
|
var _this2;
|
|
|
|
babelHelpers.classCallCheck(this, a2);
|
|
_this2 = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(a2).call(this));
|
|
|
|
_this2.x = function () {
|
|
return babelHelpers.assertThisInitialized(babelHelpers.assertThisInitialized(_this2));
|
|
};
|
|
|
|
return _this2;
|
|
}
|
|
|
|
return a2;
|
|
}(b);
|
|
|
|
exports.default = a2;
|