Fix class inheritance in IE10 (#7969)
* Revert "Move subclass inheritance to end (#7772)"
This reverts commit f8ab9466d3.
* Only use getPrototypeOf if setPrototypeOf is implemented
* Update fixtures
* Helpers updates
* Update fixtures
* Fall back to getPrototypeOf
* Update fixtures
This commit is contained in:
committed by
Henry Zhu
parent
ffe04d9195
commit
2af7a33c4e
@@ -10,6 +10,8 @@ var _store = require("./store");
|
||||
let Login =
|
||||
/*#__PURE__*/
|
||||
function (_React$Component) {
|
||||
babelHelpers.inherits(Login, _React$Component);
|
||||
|
||||
function Login() {
|
||||
babelHelpers.classCallCheck(this, Login);
|
||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Login).apply(this, arguments));
|
||||
@@ -21,7 +23,6 @@ function (_React$Component) {
|
||||
return (0, _store.getForm)().toJS();
|
||||
}
|
||||
}]);
|
||||
babelHelpers.inherits(Login, _React$Component);
|
||||
return Login;
|
||||
}(React.Component);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user