Justin Ridgewell 2af7a33c4e Fix class inheritance in IE10 (#7969)
* 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
2018-05-23 16:21:21 -04:00

23 lines
425 B
JavaScript

var A = function A() {
"use strict";
babelHelpers.classCallCheck(this, A);
};
var B =
/*#__PURE__*/
function (_A) {
"use strict";
babelHelpers.inherits(B, _A);
function B() {
var _this;
babelHelpers.classCallCheck(this, B);
return babelHelpers.possibleConstructorReturn(_this, _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(B).call(this)));
}
return B;
}(A);