Move subclass inheritance to end (#7772)
We were using `Object.create` to setup the prototype chain at the start of the class definition, which lead to #7771. I was a bit worried about a speed hit, but it seems everyone optimizes the two patterns the same way. https://jsbench.github.io/#f9fca52407643d96458a35763b201215 Fixes #7771.
This commit is contained in:
parent
8f24f91166
commit
f8ab9466d3
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo(options) {
|
function Foo(options) {
|
||||||
babelHelpers.classCallCheck(this, Foo);
|
babelHelpers.classCallCheck(this, Foo);
|
||||||
var parentOptions = {};
|
var parentOptions = {};
|
||||||
@ -16,5 +14,6 @@ function (_Bar) {
|
|||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).call(this, parentOptions));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).call(this, parentOptions));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -399,22 +399,14 @@ helpers.inherits = () => template.program.ast`
|
|||||||
if (typeof superClass !== "function" && superClass !== null) {
|
if (typeof superClass !== "function" && superClass !== null) {
|
||||||
throw new TypeError("Super expression must either be null or a function");
|
throw new TypeError("Super expression must either be null or a function");
|
||||||
}
|
}
|
||||||
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
setPrototypeOf(subClass.prototype, superClass && superClass.prototype);
|
||||||
constructor: {
|
|
||||||
value: subClass,
|
|
||||||
enumerable: false,
|
|
||||||
writable: true,
|
|
||||||
configurable: true
|
|
||||||
}
|
|
||||||
});
|
|
||||||
if (superClass) setPrototypeOf(subClass, superClass);
|
if (superClass) setPrototypeOf(subClass, superClass);
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
helpers.inheritsLoose = () => template.program.ast`
|
helpers.inheritsLoose = () => template.program.ast`
|
||||||
export default function _inheritsLoose(subClass, superClass) {
|
export default function _inheritsLoose(subClass, superClass) {
|
||||||
subClass.prototype = Object.create(superClass.prototype);
|
subClass.prototype.__proto__ = superClass && superClass.prototype;
|
||||||
subClass.prototype.constructor = subClass;
|
|
||||||
subClass.__proto__ = superClass;
|
subClass.__proto__ = superClass;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|||||||
@ -13,8 +13,6 @@ let Hello = function Hello() {
|
|||||||
let Outer =
|
let Outer =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Hello) {
|
function (_Hello) {
|
||||||
babelHelpers.inherits(Outer, _Hello);
|
|
||||||
|
|
||||||
function Outer() {
|
function Outer() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -30,6 +28,7 @@ function (_Hello) {
|
|||||||
return babelHelpers.possibleConstructorReturn(_this, new Inner());
|
return babelHelpers.possibleConstructorReturn(_this, new Inner());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Outer, _Hello);
|
||||||
return Outer;
|
return Outer;
|
||||||
}(Hello);
|
}(Hello);
|
||||||
|
|
||||||
|
|||||||
@ -19,8 +19,6 @@ function () {
|
|||||||
let Outer =
|
let Outer =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Hello) {
|
function (_Hello) {
|
||||||
babelHelpers.inherits(Outer, _Hello);
|
|
||||||
|
|
||||||
function Outer() {
|
function Outer() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -37,6 +35,7 @@ function (_Hello) {
|
|||||||
return babelHelpers.possibleConstructorReturn(_this, new Inner());
|
return babelHelpers.possibleConstructorReturn(_this, new Inner());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Outer, _Hello);
|
||||||
return Outer;
|
return Outer;
|
||||||
}(Hello);
|
}(Hello);
|
||||||
|
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo(...args) {
|
function Foo(...args) {
|
||||||
var _temp, _this;
|
var _temp, _this;
|
||||||
|
|
||||||
@ -12,5 +10,6 @@ function (_Bar) {
|
|||||||
return babelHelpers.possibleConstructorReturn(_this, (_temp = _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).call(this, ...args)), _this.bar = "foo", _temp));
|
return babelHelpers.possibleConstructorReturn(_this, (_temp = _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).call(this, ...args)), _this.bar = "foo", _temp));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Child =
|
|||||||
function (_Parent) {
|
function (_Parent) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Child, _Parent);
|
|
||||||
|
|
||||||
function Child() {
|
function Child() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -18,5 +16,6 @@ function (_Parent) {
|
|||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Child, _Parent);
|
||||||
return Child;
|
return Child;
|
||||||
}(Parent);
|
}(Parent);
|
||||||
|
|||||||
@ -6,13 +6,12 @@ function withContext(ComposedComponent) {
|
|||||||
function (_Component) {
|
function (_Component) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(WithContext, _Component);
|
|
||||||
|
|
||||||
function WithContext() {
|
function WithContext() {
|
||||||
babelHelpers.classCallCheck(this, WithContext);
|
babelHelpers.classCallCheck(this, WithContext);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(WithContext).apply(this, arguments));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(WithContext).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(WithContext, _Component);
|
||||||
return WithContext;
|
return WithContext;
|
||||||
}(Component), _class.propTypes = {
|
}(Component), _class.propTypes = {
|
||||||
context: PropTypes.shape({
|
context: PropTypes.shape({
|
||||||
|
|||||||
@ -21,8 +21,6 @@ var B =
|
|||||||
function (_A) {
|
function (_A) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(B, _A);
|
|
||||||
|
|
||||||
function B(...args) {
|
function B(...args) {
|
||||||
var _temp, _this;
|
var _temp, _this;
|
||||||
|
|
||||||
@ -30,5 +28,6 @@ function (_A) {
|
|||||||
return babelHelpers.possibleConstructorReturn(_this, (_temp = _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(B).call(this, ...args)), _this.foo = babelHelpers.get(babelHelpers.getPrototypeOf(B.prototype), "foo", babelHelpers.assertThisInitialized(_this)).call(_this), _temp));
|
return babelHelpers.possibleConstructorReturn(_this, (_temp = _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(B).call(this, ...args)), _this.foo = babelHelpers.get(babelHelpers.getPrototypeOf(B.prototype), "foo", babelHelpers.assertThisInitialized(_this)).call(_this), _temp));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(B, _A);
|
||||||
return B;
|
return B;
|
||||||
}(A);
|
}(A);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _temp, _this;
|
var _temp, _this;
|
||||||
|
|
||||||
@ -13,5 +11,6 @@ function (_Bar) {
|
|||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -14,5 +12,6 @@ function (_Bar) {
|
|||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo(...args) {
|
function Foo(...args) {
|
||||||
var _temp, _this;
|
var _temp, _this;
|
||||||
|
|
||||||
@ -12,5 +10,6 @@ function (_Bar) {
|
|||||||
return babelHelpers.possibleConstructorReturn(_this, (_temp = _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).call(this, ...args)), babelHelpers.defineProperty(babelHelpers.assertThisInitialized(_this), "bar", "foo"), _temp));
|
return babelHelpers.possibleConstructorReturn(_this, (_temp = _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).call(this, ...args)), babelHelpers.defineProperty(babelHelpers.assertThisInitialized(_this), "bar", "foo"), _temp));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Child =
|
|||||||
function (_Parent) {
|
function (_Parent) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Child, _Parent);
|
|
||||||
|
|
||||||
function Child() {
|
function Child() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -16,5 +14,6 @@ function (_Parent) {
|
|||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Child, _Parent);
|
||||||
return Child;
|
return Child;
|
||||||
}(Parent);
|
}(Parent);
|
||||||
|
|||||||
@ -6,13 +6,12 @@ function withContext(ComposedComponent) {
|
|||||||
function (_Component) {
|
function (_Component) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(WithContext, _Component);
|
|
||||||
|
|
||||||
function WithContext() {
|
function WithContext() {
|
||||||
babelHelpers.classCallCheck(this, WithContext);
|
babelHelpers.classCallCheck(this, WithContext);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(WithContext).apply(this, arguments));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(WithContext).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(WithContext, _Component);
|
||||||
return WithContext;
|
return WithContext;
|
||||||
}(Component), babelHelpers.defineProperty(_class, "propTypes", {
|
}(Component), babelHelpers.defineProperty(_class, "propTypes", {
|
||||||
context: PropTypes.shape({
|
context: PropTypes.shape({
|
||||||
|
|||||||
@ -21,8 +21,6 @@ var B =
|
|||||||
function (_A) {
|
function (_A) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(B, _A);
|
|
||||||
|
|
||||||
function B(...args) {
|
function B(...args) {
|
||||||
var _temp, _this;
|
var _temp, _this;
|
||||||
|
|
||||||
@ -30,5 +28,6 @@ function (_A) {
|
|||||||
return babelHelpers.possibleConstructorReturn(_this, (_temp = _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(B).call(this, ...args)), babelHelpers.defineProperty(babelHelpers.assertThisInitialized(_this), "foo", babelHelpers.get(babelHelpers.getPrototypeOf(B.prototype), "foo", babelHelpers.assertThisInitialized(_this)).call(_this)), _temp));
|
return babelHelpers.possibleConstructorReturn(_this, (_temp = _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(B).call(this, ...args)), babelHelpers.defineProperty(babelHelpers.assertThisInitialized(_this), "foo", babelHelpers.get(babelHelpers.getPrototypeOf(B.prototype), "foo", babelHelpers.assertThisInitialized(_this)).call(_this)), _temp));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(B, _A);
|
||||||
return B;
|
return B;
|
||||||
}(A);
|
}(A);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _temp, _this;
|
var _temp, _this;
|
||||||
|
|
||||||
@ -13,5 +11,6 @@ function (_Bar) {
|
|||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -14,5 +12,6 @@ function (_Bar) {
|
|||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -2,12 +2,12 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat
|
|||||||
|
|
||||||
function _instanceof(left, right) { if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { return right[Symbol.hasInstance](left); } else { return left instanceof right; } }
|
function _instanceof(left, right) { if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { return right[Symbol.hasInstance](left); } else { return left instanceof right; } }
|
||||||
|
|
||||||
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
||||||
|
|
||||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||||
|
|
||||||
function _classCallCheck(instance, Constructor) { if (!_instanceof(instance, Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!_instanceof(instance, Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
@ -30,8 +30,6 @@ var Test = function Test() {
|
|||||||
var Other =
|
var Other =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Test) {
|
function (_Test) {
|
||||||
_inherits(Other, _Test);
|
|
||||||
|
|
||||||
function Other() {
|
function Other() {
|
||||||
var _getPrototypeOf2;
|
var _getPrototypeOf2;
|
||||||
|
|
||||||
@ -48,6 +46,8 @@ var Test = function Test() {
|
|||||||
}), _temp));
|
}), _temp));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_inherits(Other, _Test);
|
||||||
|
|
||||||
return Other;
|
return Other;
|
||||||
}(Test);
|
}(Test);
|
||||||
|
|
||||||
|
|||||||
@ -6,13 +6,12 @@ function withContext(ComposedComponent) {
|
|||||||
function (_Component) {
|
function (_Component) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(WithContext, _Component);
|
|
||||||
|
|
||||||
function WithContext() {
|
function WithContext() {
|
||||||
babelHelpers.classCallCheck(this, WithContext);
|
babelHelpers.classCallCheck(this, WithContext);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(WithContext).apply(this, arguments));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(WithContext).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(WithContext, _Component);
|
||||||
return WithContext;
|
return WithContext;
|
||||||
}(Component), _class.propTypes = {
|
}(Component), _class.propTypes = {
|
||||||
context: PropTypes.shape({
|
context: PropTypes.shape({
|
||||||
|
|||||||
@ -4,16 +4,16 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat
|
|||||||
|
|
||||||
function _classCallCheck(instance, Constructor) { if (!_instanceof(instance, Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!_instanceof(instance, Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
||||||
|
|
||||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
||||||
|
|
||||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
||||||
|
|
||||||
function generateAsyncAction(type) {
|
function generateAsyncAction(type) {
|
||||||
type = type.toUpperCase();
|
type = type.toUpperCase();
|
||||||
var request = createAction(type + '_REQUEST', undefined, requestMetaCreator);
|
var request = createAction(type + '_REQUEST', undefined, requestMetaCreator);
|
||||||
@ -32,8 +32,6 @@ var A =
|
|||||||
function (_B) {
|
function (_B) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
_inherits(A, _B);
|
|
||||||
|
|
||||||
function A(timestamp) {
|
function A(timestamp) {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -45,5 +43,7 @@ function (_B) {
|
|||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_inherits(A, _B);
|
||||||
|
|
||||||
return A;
|
return A;
|
||||||
}(B);
|
}(B);
|
||||||
|
|||||||
@ -179,6 +179,7 @@ export default function transformClass(
|
|||||||
}
|
}
|
||||||
|
|
||||||
pushDescriptors();
|
pushDescriptors();
|
||||||
|
pushInheritsToBody();
|
||||||
}
|
}
|
||||||
|
|
||||||
function pushBody() {
|
function pushBody() {
|
||||||
@ -236,8 +237,6 @@ export default function transformClass(
|
|||||||
}
|
}
|
||||||
|
|
||||||
function pushDescriptors() {
|
function pushDescriptors() {
|
||||||
pushInheritsToBody();
|
|
||||||
|
|
||||||
const { body } = classState;
|
const { body } = classState;
|
||||||
|
|
||||||
let instanceProps;
|
let instanceProps;
|
||||||
@ -538,8 +537,6 @@ export default function transformClass(
|
|||||||
}
|
}
|
||||||
|
|
||||||
classState.body.push(classState.construct);
|
classState.body.push(classState.construct);
|
||||||
|
|
||||||
pushInheritsToBody();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -550,9 +547,9 @@ export default function transformClass(
|
|||||||
|
|
||||||
setState({ pushedInherits: true });
|
setState({ pushedInherits: true });
|
||||||
|
|
||||||
// Unshift to ensure that the constructor inheritance is set up before
|
// Push to ensure that the constructor inheritance is set up after
|
||||||
// any properties can be assigned to the prototype.
|
// any properties can be assigned to the prototype.
|
||||||
classState.body.unshift(
|
classState.body.push(
|
||||||
t.expressionStatement(
|
t.expressionStatement(
|
||||||
t.callExpression(
|
t.callExpression(
|
||||||
classState.file.addHelper(
|
classState.file.addHelper(
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
function _inheritsLoose(subClass, superClass) { subClass.prototype.__proto__ = superClass && superClass.prototype; subClass.__proto__ = superClass; }
|
||||||
|
|
||||||
function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() {} Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, _setPrototypeOf(function Super() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); }, Class)); }; return _wrapNativeSuper(Class); }
|
function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() {} Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, _setPrototypeOf(function Super() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); }, Class)); }; return _wrapNativeSuper(Class); }
|
||||||
|
|
||||||
@ -13,11 +13,11 @@ var List =
|
|||||||
function (_Array) {
|
function (_Array) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
_inheritsLoose(List, _Array);
|
|
||||||
|
|
||||||
function List() {
|
function List() {
|
||||||
return _Array.apply(this, arguments) || this;
|
return _Array.apply(this, arguments) || this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_inheritsLoose(List, _Array);
|
||||||
|
|
||||||
return List;
|
return List;
|
||||||
}(_wrapNativeSuper(Array));
|
}(_wrapNativeSuper(Array));
|
||||||
|
|||||||
@ -9,12 +9,11 @@ let List =
|
|||||||
function (_Array) {
|
function (_Array) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(List, _Array);
|
|
||||||
|
|
||||||
function List() {
|
function List() {
|
||||||
babelHelpers.classCallCheck(this, List);
|
babelHelpers.classCallCheck(this, List);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(List).apply(this, arguments));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(List).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(List, _Array);
|
||||||
return List;
|
return List;
|
||||||
}(Array);
|
}(Array);
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
||||||
|
|
||||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() {} Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, _setPrototypeOf(function Super() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); }, Class)); }; return _wrapNativeSuper(Class); }
|
function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() {} Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, _setPrototypeOf(function Super() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); }, Class)); }; return _wrapNativeSuper(Class); }
|
||||||
|
|
||||||
function _construct(Parent, args, Class) { if (typeof Reflect !== "undefined" && Reflect.construct) { _construct = Reflect.construct; } else { _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); }
|
function _construct(Parent, args, Class) { if (typeof Reflect !== "undefined" && Reflect.construct) { _construct = Reflect.construct; } else { _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); }
|
||||||
@ -19,13 +19,13 @@ var List =
|
|||||||
function (_Array) {
|
function (_Array) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
_inherits(List, _Array);
|
|
||||||
|
|
||||||
function List() {
|
function List() {
|
||||||
_classCallCheck(this, List);
|
_classCallCheck(this, List);
|
||||||
|
|
||||||
return _possibleConstructorReturn(this, _getPrototypeOf(List).apply(this, arguments));
|
return _possibleConstructorReturn(this, _getPrototypeOf(List).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_inherits(List, _Array);
|
||||||
|
|
||||||
return List;
|
return List;
|
||||||
}(_wrapNativeSuper(Array));
|
}(_wrapNativeSuper(Array));
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||||
|
|
||||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||||
@ -14,10 +18,6 @@ function _superPropBase(object, property) { while (!Object.prototype.hasOwnPrope
|
|||||||
|
|
||||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
||||||
|
|
||||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
let Base = function Base() {
|
let Base = function Base() {
|
||||||
@ -29,8 +29,6 @@ Base.prototype.test = 1;
|
|||||||
let Obj =
|
let Obj =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Base) {
|
function (_Base) {
|
||||||
_inherits(Obj, _Base);
|
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
_classCallCheck(this, Obj);
|
_classCallCheck(this, Obj);
|
||||||
|
|
||||||
@ -44,6 +42,8 @@ function (_Base) {
|
|||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
_inherits(Obj, _Base);
|
||||||
|
|
||||||
return Obj;
|
return Obj;
|
||||||
}(Base);
|
}(Base);
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
||||||
|
|
||||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
||||||
@ -10,10 +14,6 @@ function _superPropBase(object, property) { while (!Object.prototype.hasOwnPrope
|
|||||||
|
|
||||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
||||||
|
|
||||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||||
@ -41,8 +41,6 @@ function () {
|
|||||||
let Obj =
|
let Obj =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Base) {
|
function (_Base) {
|
||||||
_inherits(Obj, _Base);
|
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
_classCallCheck(this, Obj);
|
_classCallCheck(this, Obj);
|
||||||
|
|
||||||
@ -56,6 +54,8 @@ function (_Base) {
|
|||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
_inherits(Obj, _Base);
|
||||||
|
|
||||||
return Obj;
|
return Obj;
|
||||||
}(Base);
|
}(Base);
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||||
|
|
||||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||||
@ -14,10 +18,6 @@ function _superPropBase(object, property) { while (!Object.prototype.hasOwnPrope
|
|||||||
|
|
||||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
||||||
|
|
||||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
let Base = function Base() {
|
let Base = function Base() {
|
||||||
@ -27,8 +27,6 @@ let Base = function Base() {
|
|||||||
let Obj =
|
let Obj =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Base) {
|
function (_Base) {
|
||||||
_inherits(Obj, _Base);
|
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
_classCallCheck(this, Obj);
|
_classCallCheck(this, Obj);
|
||||||
|
|
||||||
@ -42,6 +40,8 @@ function (_Base) {
|
|||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
_inherits(Obj, _Base);
|
||||||
|
|
||||||
return Obj;
|
return Obj;
|
||||||
}(Base);
|
}(Base);
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
||||||
|
|
||||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
||||||
@ -10,10 +14,6 @@ function _superPropBase(object, property) { while (!Object.prototype.hasOwnPrope
|
|||||||
|
|
||||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
||||||
|
|
||||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||||
@ -40,8 +40,6 @@ function () {
|
|||||||
let Obj =
|
let Obj =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Base) {
|
function (_Base) {
|
||||||
_inherits(Obj, _Base);
|
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
_classCallCheck(this, Obj);
|
_classCallCheck(this, Obj);
|
||||||
|
|
||||||
@ -55,6 +53,8 @@ function (_Base) {
|
|||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
_inherits(Obj, _Base);
|
||||||
|
|
||||||
return Obj;
|
return Obj;
|
||||||
}(Base);
|
}(Base);
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||||
|
|
||||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||||
@ -18,10 +22,6 @@ function _superPropBase(object, property) { while (!Object.prototype.hasOwnPrope
|
|||||||
|
|
||||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
||||||
|
|
||||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
let Base = function Base() {
|
let Base = function Base() {
|
||||||
@ -37,8 +37,6 @@ Object.defineProperty(Base.prototype, 'test', {
|
|||||||
let Obj =
|
let Obj =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Base) {
|
function (_Base) {
|
||||||
_inherits(Obj, _Base);
|
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
_classCallCheck(this, Obj);
|
_classCallCheck(this, Obj);
|
||||||
|
|
||||||
@ -52,6 +50,8 @@ function (_Base) {
|
|||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
_inherits(Obj, _Base);
|
||||||
|
|
||||||
return Obj;
|
return Obj;
|
||||||
}(Base);
|
}(Base);
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
||||||
|
|
||||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
||||||
@ -14,10 +18,6 @@ function _superPropBase(object, property) { while (!Object.prototype.hasOwnPrope
|
|||||||
|
|
||||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
||||||
|
|
||||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||||
@ -46,8 +46,6 @@ function () {
|
|||||||
let Obj =
|
let Obj =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Base) {
|
function (_Base) {
|
||||||
_inherits(Obj, _Base);
|
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
_classCallCheck(this, Obj);
|
_classCallCheck(this, Obj);
|
||||||
|
|
||||||
@ -61,6 +59,8 @@ function (_Base) {
|
|||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
_inherits(Obj, _Base);
|
||||||
|
|
||||||
return Obj;
|
return Obj;
|
||||||
}(Base);
|
}(Base);
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||||
|
|
||||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||||
@ -18,10 +22,6 @@ function _superPropBase(object, property) { while (!Object.prototype.hasOwnPrope
|
|||||||
|
|
||||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
||||||
|
|
||||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
let Base = function Base() {
|
let Base = function Base() {
|
||||||
@ -31,8 +31,6 @@ let Base = function Base() {
|
|||||||
let Obj =
|
let Obj =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Base) {
|
function (_Base) {
|
||||||
_inherits(Obj, _Base);
|
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
_classCallCheck(this, Obj);
|
_classCallCheck(this, Obj);
|
||||||
|
|
||||||
@ -46,6 +44,8 @@ function (_Base) {
|
|||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
_inherits(Obj, _Base);
|
||||||
|
|
||||||
return Obj;
|
return Obj;
|
||||||
}(Base);
|
}(Base);
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||||
|
|
||||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||||
@ -18,10 +22,6 @@ function _superPropBase(object, property) { while (!Object.prototype.hasOwnPrope
|
|||||||
|
|
||||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
||||||
|
|
||||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
let Base = function Base() {
|
let Base = function Base() {
|
||||||
@ -31,8 +31,6 @@ let Base = function Base() {
|
|||||||
let Obj =
|
let Obj =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Base) {
|
function (_Base) {
|
||||||
_inherits(Obj, _Base);
|
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
_classCallCheck(this, Obj);
|
_classCallCheck(this, Obj);
|
||||||
|
|
||||||
@ -49,6 +47,8 @@ function (_Base) {
|
|||||||
get: function () {}
|
get: function () {}
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
_inherits(Obj, _Base);
|
||||||
|
|
||||||
return Obj;
|
return Obj;
|
||||||
}(Base);
|
}(Base);
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||||
|
|
||||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||||
@ -18,10 +22,6 @@ function _superPropBase(object, property) { while (!Object.prototype.hasOwnPrope
|
|||||||
|
|
||||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
||||||
|
|
||||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
let Base = function Base() {
|
let Base = function Base() {
|
||||||
@ -31,8 +31,6 @@ let Base = function Base() {
|
|||||||
let Obj =
|
let Obj =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Base) {
|
function (_Base) {
|
||||||
_inherits(Obj, _Base);
|
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
_classCallCheck(this, Obj);
|
_classCallCheck(this, Obj);
|
||||||
|
|
||||||
@ -46,6 +44,8 @@ function (_Base) {
|
|||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
_inherits(Obj, _Base);
|
||||||
|
|
||||||
return Obj;
|
return Obj;
|
||||||
}(Base);
|
}(Base);
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||||
|
|
||||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||||
@ -18,10 +22,6 @@ function _superPropBase(object, property) { while (!Object.prototype.hasOwnPrope
|
|||||||
|
|
||||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
||||||
|
|
||||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
let Base = function Base() {
|
let Base = function Base() {
|
||||||
@ -33,8 +33,6 @@ let value = 2;
|
|||||||
let Obj =
|
let Obj =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Base) {
|
function (_Base) {
|
||||||
_inherits(Obj, _Base);
|
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
_classCallCheck(this, Obj);
|
_classCallCheck(this, Obj);
|
||||||
|
|
||||||
@ -54,6 +52,8 @@ function (_Base) {
|
|||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
_inherits(Obj, _Base);
|
||||||
|
|
||||||
return Obj;
|
return Obj;
|
||||||
}(Base);
|
}(Base);
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
||||||
|
|
||||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
||||||
@ -14,10 +18,6 @@ function _superPropBase(object, property) { while (!Object.prototype.hasOwnPrope
|
|||||||
|
|
||||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
||||||
|
|
||||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||||
@ -46,8 +46,6 @@ function () {
|
|||||||
let Obj =
|
let Obj =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Base) {
|
function (_Base) {
|
||||||
_inherits(Obj, _Base);
|
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
_classCallCheck(this, Obj);
|
_classCallCheck(this, Obj);
|
||||||
|
|
||||||
@ -61,6 +59,8 @@ function (_Base) {
|
|||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
_inherits(Obj, _Base);
|
||||||
|
|
||||||
return Obj;
|
return Obj;
|
||||||
}(Base);
|
}(Base);
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
function _inheritsLoose(subClass, superClass) { subClass.prototype.__proto__ = superClass && superClass.prototype; subClass.__proto__ = superClass; }
|
||||||
|
|
||||||
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
||||||
|
|
||||||
let B = function B() {
|
let B = function B() {
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -11,8 +11,6 @@ let A =
|
|||||||
function (_B) {
|
function (_B) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
_inheritsLoose(A, _B);
|
|
||||||
|
|
||||||
function A(track) {
|
function A(track) {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -20,5 +18,7 @@ function (_B) {
|
|||||||
return _assertThisInitialized(_this);
|
return _assertThisInitialized(_this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_inheritsLoose(A, _B);
|
||||||
|
|
||||||
return A;
|
return A;
|
||||||
}(B);
|
}(B);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Test =
|
|||||||
function (_Foo) {
|
function (_Foo) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inheritsLoose(Test, _Foo);
|
|
||||||
|
|
||||||
function Test() {
|
function Test() {
|
||||||
var _Foo$prototype$test, _Foo$prototype$test2;
|
var _Foo$prototype$test, _Foo$prototype$test2;
|
||||||
|
|
||||||
@ -25,5 +23,6 @@ function (_Foo) {
|
|||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inheritsLoose(Test, _Foo);
|
||||||
return Test;
|
return Test;
|
||||||
}(Foo);
|
}(Foo);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Test =
|
|||||||
function (_Foo) {
|
function (_Foo) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inheritsLoose(Test, _Foo);
|
|
||||||
|
|
||||||
function Test() {
|
function Test() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -14,5 +12,6 @@ function (_Foo) {
|
|||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inheritsLoose(Test, _Foo);
|
||||||
return Test;
|
return Test;
|
||||||
}(Foo);
|
}(Foo);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Test =
|
|||||||
function (_Foo) {
|
function (_Foo) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inheritsLoose(Test, _Foo);
|
|
||||||
|
|
||||||
function Test() {
|
function Test() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -21,5 +19,6 @@ function (_Foo) {
|
|||||||
return _Foo.wow.call(this);
|
return _Foo.wow.call(this);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
babelHelpers.inheritsLoose(Test, _Foo);
|
||||||
return Test;
|
return Test;
|
||||||
}(Foo);
|
}(Foo);
|
||||||
|
|||||||
@ -3,13 +3,12 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inheritsLoose(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
return babelHelpers.assertThisInitialized(_this);
|
return babelHelpers.assertThisInitialized(_this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inheritsLoose(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,13 +3,12 @@ var Child =
|
|||||||
function (_Base) {
|
function (_Base) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inheritsLoose(Child, _Base);
|
|
||||||
|
|
||||||
function Child() {
|
function Child() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
return false || babelHelpers.assertThisInitialized(_this);
|
return false || babelHelpers.assertThisInitialized(_this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inheritsLoose(Child, _Base);
|
||||||
return Child;
|
return Child;
|
||||||
}(Base);
|
}(Base);
|
||||||
|
|||||||
@ -3,13 +3,12 @@ var Child =
|
|||||||
function (_Base) {
|
function (_Base) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inheritsLoose(Child, _Base);
|
|
||||||
|
|
||||||
function Child() {
|
function Child() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
return {} || babelHelpers.assertThisInitialized(_this);
|
return {} || babelHelpers.assertThisInitialized(_this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inheritsLoose(Child, _Base);
|
||||||
return Child;
|
return Child;
|
||||||
}(Base);
|
}(Base);
|
||||||
|
|||||||
@ -0,0 +1,14 @@
|
|||||||
|
class Base {
|
||||||
|
get test() {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class Sub extends Base {
|
||||||
|
// Redefining method here
|
||||||
|
test() {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
expect(new Sub().test()).toBe(1);
|
||||||
|
|
||||||
@ -0,0 +1,14 @@
|
|||||||
|
class Base {
|
||||||
|
get test() {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class Sub extends Base {
|
||||||
|
// Redefining method here
|
||||||
|
test() {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
expect(new Sub().test()).toBe(1);
|
||||||
|
|
||||||
@ -0,0 +1,35 @@
|
|||||||
|
var Base =
|
||||||
|
/*#__PURE__*/
|
||||||
|
function () {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
function Base() {}
|
||||||
|
|
||||||
|
babelHelpers.createClass(Base, [{
|
||||||
|
key: "test",
|
||||||
|
get: function get() {}
|
||||||
|
}]);
|
||||||
|
return Base;
|
||||||
|
}();
|
||||||
|
|
||||||
|
var Sub =
|
||||||
|
/*#__PURE__*/
|
||||||
|
function (_Base) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
function Sub() {
|
||||||
|
return _Base.apply(this, arguments) || this;
|
||||||
|
}
|
||||||
|
|
||||||
|
var _proto = Sub.prototype;
|
||||||
|
|
||||||
|
// Redefining method here
|
||||||
|
_proto.test = function test() {
|
||||||
|
return 1;
|
||||||
|
};
|
||||||
|
|
||||||
|
babelHelpers.inheritsLoose(Sub, _Base);
|
||||||
|
return Sub;
|
||||||
|
}(Base);
|
||||||
|
|
||||||
|
expect(new Sub().test()).toBe(1);
|
||||||
@ -3,12 +3,11 @@ var BaseController =
|
|||||||
function (_Chaplin$Controller) {
|
function (_Chaplin$Controller) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inheritsLoose(BaseController, _Chaplin$Controller);
|
|
||||||
|
|
||||||
function BaseController() {
|
function BaseController() {
|
||||||
return _Chaplin$Controller.apply(this, arguments) || this;
|
return _Chaplin$Controller.apply(this, arguments) || this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inheritsLoose(BaseController, _Chaplin$Controller);
|
||||||
return BaseController;
|
return BaseController;
|
||||||
}(Chaplin.Controller);
|
}(Chaplin.Controller);
|
||||||
|
|
||||||
@ -17,11 +16,10 @@ var BaseController2 =
|
|||||||
function (_Chaplin$Controller$A) {
|
function (_Chaplin$Controller$A) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inheritsLoose(BaseController2, _Chaplin$Controller$A);
|
|
||||||
|
|
||||||
function BaseController2() {
|
function BaseController2() {
|
||||||
return _Chaplin$Controller$A.apply(this, arguments) || this;
|
return _Chaplin$Controller$A.apply(this, arguments) || this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inheritsLoose(BaseController2, _Chaplin$Controller$A);
|
||||||
return BaseController2;
|
return BaseController2;
|
||||||
}(Chaplin.Controller.Another);
|
}(Chaplin.Controller.Another);
|
||||||
|
|||||||
@ -3,11 +3,10 @@ var Test =
|
|||||||
function (_Foo) {
|
function (_Foo) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inheritsLoose(Test, _Foo);
|
|
||||||
|
|
||||||
function Test() {
|
function Test() {
|
||||||
return _Foo.apply(this, arguments) || this;
|
return _Foo.apply(this, arguments) || this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inheritsLoose(Test, _Foo);
|
||||||
return Test;
|
return Test;
|
||||||
}(Foo);
|
}(Foo);
|
||||||
|
|||||||
@ -15,8 +15,6 @@ var _binarySerializer = babelHelpers.interopRequireDefault(require("./helpers/bi
|
|||||||
var Connection =
|
var Connection =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_EventEmitter) {
|
function (_EventEmitter) {
|
||||||
babelHelpers.inherits(Connection, _EventEmitter);
|
|
||||||
|
|
||||||
function Connection(endpoint, joinKey, joinData, roomId) {
|
function Connection(endpoint, joinKey, joinData, roomId) {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -39,6 +37,7 @@ function (_EventEmitter) {
|
|||||||
this.sock.close();
|
this.sock.close();
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
babelHelpers.inherits(Connection, _EventEmitter);
|
||||||
return Connection;
|
return Connection;
|
||||||
}(_events.EventEmitter);
|
}(_events.EventEmitter);
|
||||||
|
|
||||||
|
|||||||
@ -10,8 +10,6 @@ var _BaseFoo2 = babelHelpers.interopRequireDefault(require("./BaseFoo"));
|
|||||||
var SubFoo =
|
var SubFoo =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_BaseFoo) {
|
function (_BaseFoo) {
|
||||||
babelHelpers.inherits(SubFoo, _BaseFoo);
|
|
||||||
|
|
||||||
function SubFoo() {
|
function SubFoo() {
|
||||||
babelHelpers.classCallCheck(this, SubFoo);
|
babelHelpers.classCallCheck(this, SubFoo);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(SubFoo).apply(this, arguments));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(SubFoo).apply(this, arguments));
|
||||||
@ -24,6 +22,7 @@ function (_BaseFoo) {
|
|||||||
console.log('SubFoo.talk');
|
console.log('SubFoo.talk');
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
babelHelpers.inherits(SubFoo, _BaseFoo);
|
||||||
return SubFoo;
|
return SubFoo;
|
||||||
}(_BaseFoo2.default);
|
}(_BaseFoo2.default);
|
||||||
|
|
||||||
|
|||||||
@ -10,8 +10,6 @@ var _react = babelHelpers.interopRequireDefault(require("react"));
|
|||||||
var RandomComponent =
|
var RandomComponent =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Component) {
|
function (_Component) {
|
||||||
babelHelpers.inherits(RandomComponent, _Component);
|
|
||||||
|
|
||||||
function RandomComponent() {
|
function RandomComponent() {
|
||||||
babelHelpers.classCallCheck(this, RandomComponent);
|
babelHelpers.classCallCheck(this, RandomComponent);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(RandomComponent).call(this));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(RandomComponent).call(this));
|
||||||
@ -25,6 +23,7 @@ function (_Component) {
|
|||||||
}, _react.default.createElement("h2", null, "Hi there!"));
|
}, _react.default.createElement("h2", null, "Hi there!"));
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
babelHelpers.inherits(RandomComponent, _Component);
|
||||||
return RandomComponent;
|
return RandomComponent;
|
||||||
}(_react.Component);
|
}(_react.Component);
|
||||||
|
|
||||||
|
|||||||
@ -12,8 +12,6 @@ var b = function b() {
|
|||||||
var a1 =
|
var a1 =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_b) {
|
function (_b) {
|
||||||
babelHelpers.inherits(a1, _b);
|
|
||||||
|
|
||||||
function a1() {
|
function a1() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -27,14 +25,13 @@ function (_b) {
|
|||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(a1, _b);
|
||||||
return a1;
|
return a1;
|
||||||
}(b);
|
}(b);
|
||||||
|
|
||||||
var a2 =
|
var a2 =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_b2) {
|
function (_b2) {
|
||||||
babelHelpers.inherits(a2, _b2);
|
|
||||||
|
|
||||||
function a2() {
|
function a2() {
|
||||||
var _this2;
|
var _this2;
|
||||||
|
|
||||||
@ -48,6 +45,7 @@ function (_b2) {
|
|||||||
return _this2;
|
return _this2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(a2, _b2);
|
||||||
return a2;
|
return a2;
|
||||||
}(b);
|
}(b);
|
||||||
|
|
||||||
|
|||||||
@ -21,8 +21,6 @@ var ColorPoint =
|
|||||||
function (_Point) {
|
function (_Point) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(ColorPoint, _Point);
|
|
||||||
|
|
||||||
function ColorPoint() {
|
function ColorPoint() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -43,6 +41,7 @@ function (_Point) {
|
|||||||
this.getX();
|
this.getX();
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
babelHelpers.inherits(ColorPoint, _Point);
|
||||||
return ColorPoint;
|
return ColorPoint;
|
||||||
}(Point);
|
}(Point);
|
||||||
|
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var A =
|
|||||||
function (_B) {
|
function (_B) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(A, _B);
|
|
||||||
|
|
||||||
function A() {
|
function A() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -22,5 +20,6 @@ function (_B) {
|
|||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(A, _B);
|
||||||
return A;
|
return A;
|
||||||
}(B);
|
}(B);
|
||||||
|
|||||||
@ -4,13 +4,12 @@ var x = {
|
|||||||
function (_Foo) {
|
function (_Foo) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(_class, _Foo);
|
|
||||||
|
|
||||||
function _class() {
|
function _class() {
|
||||||
babelHelpers.classCallCheck(this, _class);
|
babelHelpers.classCallCheck(this, _class);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(_class).apply(this, arguments));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(_class).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(_class, _Foo);
|
||||||
return _class;
|
return _class;
|
||||||
}(Foo)
|
}(Foo)
|
||||||
};
|
};
|
||||||
|
|||||||
@ -9,8 +9,6 @@ var B =
|
|||||||
function (_A) {
|
function (_A) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(B, _A);
|
|
||||||
|
|
||||||
function B() {
|
function B() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -18,5 +16,6 @@ function (_A) {
|
|||||||
return babelHelpers.possibleConstructorReturn(_this, _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(B).call(this)));
|
return babelHelpers.possibleConstructorReturn(_this, _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(B).call(this)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(B, _A);
|
||||||
return B;
|
return B;
|
||||||
}(A);
|
}(A);
|
||||||
|
|||||||
@ -1,15 +1,15 @@
|
|||||||
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
||||||
|
|
||||||
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
||||||
|
|
||||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
||||||
|
|
||||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
||||||
|
|
||||||
function _instanceof(left, right) { if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { return right[Symbol.hasInstance](left); } else { return left instanceof right; } }
|
function _instanceof(left, right) { if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { return right[Symbol.hasInstance](left); } else { return left instanceof right; } }
|
||||||
|
|
||||||
function _classCallCheck(instance, Constructor) { if (!_instanceof(instance, Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!_instanceof(instance, Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
@ -25,8 +25,6 @@ var A =
|
|||||||
function (_B) {
|
function (_B) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
_inherits(A, _B);
|
|
||||||
|
|
||||||
function A(track) {
|
function A(track) {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -36,5 +34,7 @@ function (_B) {
|
|||||||
return _possibleConstructorReturn(_this);
|
return _possibleConstructorReturn(_this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_inherits(A, _B);
|
||||||
|
|
||||||
return A;
|
return A;
|
||||||
}(B);
|
}(B);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Test =
|
|||||||
function (_Foo) {
|
function (_Foo) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Test, _Foo);
|
|
||||||
|
|
||||||
function Test() {
|
function Test() {
|
||||||
var _babelHelpers$getProt, _babelHelpers$get;
|
var _babelHelpers$getProt, _babelHelpers$get;
|
||||||
|
|
||||||
@ -44,5 +42,6 @@ function (_Foo) {
|
|||||||
(_babelHelpers$get3 = babelHelpers.get(babelHelpers.getPrototypeOf(Test), "foo", this)).call.apply(_babelHelpers$get3, [this, "test"].concat(Array.prototype.slice.call(arguments)));
|
(_babelHelpers$get3 = babelHelpers.get(babelHelpers.getPrototypeOf(Test), "foo", this)).call.apply(_babelHelpers$get3, [this, "test"].concat(Array.prototype.slice.call(arguments)));
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
babelHelpers.inherits(Test, _Foo);
|
||||||
return Test;
|
return Test;
|
||||||
}(Foo);
|
}(Foo);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Test =
|
|||||||
function (_Foo) {
|
function (_Foo) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Test, _Foo);
|
|
||||||
|
|
||||||
function Test() {
|
function Test() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -15,5 +13,6 @@ function (_Foo) {
|
|||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Test, _Foo);
|
||||||
return Test;
|
return Test;
|
||||||
}(Foo);
|
}(Foo);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Test =
|
|||||||
function (_Foo) {
|
function (_Foo) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Test, _Foo);
|
|
||||||
|
|
||||||
function Test() {
|
function Test() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -21,5 +19,6 @@ function (_Foo) {
|
|||||||
return babelHelpers.get(babelHelpers.getPrototypeOf(Test), "wow", this).call(this);
|
return babelHelpers.get(babelHelpers.getPrototypeOf(Test), "wow", this).call(this);
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
babelHelpers.inherits(Test, _Foo);
|
||||||
return Test;
|
return Test;
|
||||||
}(Foo);
|
}(Foo);
|
||||||
|
|||||||
@ -10,8 +10,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -21,6 +19,7 @@ function (_Bar) {
|
|||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -14,5 +12,6 @@ function (_Bar) {
|
|||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -13,5 +11,6 @@ function (_Bar) {
|
|||||||
return babelHelpers.possibleConstructorReturn(_this);
|
return babelHelpers.possibleConstructorReturn(_this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -16,5 +14,6 @@ function (_Bar) {
|
|||||||
return babelHelpers.possibleConstructorReturn(_this);
|
return babelHelpers.possibleConstructorReturn(_this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -15,5 +13,6 @@ function (_Bar) {
|
|||||||
return babelHelpers.possibleConstructorReturn(_this);
|
return babelHelpers.possibleConstructorReturn(_this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -12,5 +10,6 @@ function (_Bar) {
|
|||||||
return babelHelpers.possibleConstructorReturn(_this);
|
return babelHelpers.possibleConstructorReturn(_this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Child =
|
|||||||
function (_Base) {
|
function (_Base) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Child, _Base);
|
|
||||||
|
|
||||||
function Child() {
|
function Child() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -12,5 +10,6 @@ function (_Base) {
|
|||||||
return babelHelpers.possibleConstructorReturn(_this, false);
|
return babelHelpers.possibleConstructorReturn(_this, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Child, _Base);
|
||||||
return Child;
|
return Child;
|
||||||
}(Base);
|
}(Base);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Child =
|
|||||||
function (_Base) {
|
function (_Base) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Child, _Base);
|
|
||||||
|
|
||||||
function Child() {
|
function Child() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -12,5 +10,6 @@ function (_Base) {
|
|||||||
return babelHelpers.possibleConstructorReturn(_this, {});
|
return babelHelpers.possibleConstructorReturn(_this, {});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Child, _Base);
|
||||||
return Child;
|
return Child;
|
||||||
}(Base);
|
}(Base);
|
||||||
|
|||||||
@ -1,13 +1,12 @@
|
|||||||
var _default =
|
var _default =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_A) {
|
function (_A) {
|
||||||
babelHelpers.inherits(_default, _A);
|
|
||||||
|
|
||||||
function _default() {
|
function _default() {
|
||||||
babelHelpers.classCallCheck(this, _default);
|
babelHelpers.classCallCheck(this, _default);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(_default).apply(this, arguments));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(_default).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(_default, _A);
|
||||||
return _default;
|
return _default;
|
||||||
}(A);
|
}(A);
|
||||||
|
|
||||||
|
|||||||
@ -13,8 +13,6 @@ var Hello = function Hello() {
|
|||||||
var Outer =
|
var Outer =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Hello) {
|
function (_Hello) {
|
||||||
babelHelpers.inherits(Outer, _Hello);
|
|
||||||
|
|
||||||
function Outer() {
|
function Outer() {
|
||||||
var _this2 = this;
|
var _this2 = this;
|
||||||
|
|
||||||
@ -41,6 +39,7 @@ function (_Hello) {
|
|||||||
return babelHelpers.possibleConstructorReturn(_this, new Inner());
|
return babelHelpers.possibleConstructorReturn(_this, new Inner());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Outer, _Hello);
|
||||||
return Outer;
|
return Outer;
|
||||||
}(Hello);
|
}(Hello);
|
||||||
|
|
||||||
|
|||||||
@ -19,8 +19,6 @@ function () {
|
|||||||
var Outer =
|
var Outer =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Hello) {
|
function (_Hello) {
|
||||||
babelHelpers.inherits(Outer, _Hello);
|
|
||||||
|
|
||||||
function Outer() {
|
function Outer() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -46,6 +44,7 @@ function (_Hello) {
|
|||||||
return babelHelpers.possibleConstructorReturn(_this, new Inner());
|
return babelHelpers.possibleConstructorReturn(_this, new Inner());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Outer, _Hello);
|
||||||
return Outer;
|
return Outer;
|
||||||
}(Hello);
|
}(Hello);
|
||||||
|
|
||||||
|
|||||||
@ -13,8 +13,6 @@ var Hello = function Hello() {
|
|||||||
var Outer =
|
var Outer =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Hello) {
|
function (_Hello) {
|
||||||
babelHelpers.inherits(Outer, _Hello);
|
|
||||||
|
|
||||||
function Outer() {
|
function Outer() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -28,6 +26,7 @@ function (_Hello) {
|
|||||||
return babelHelpers.possibleConstructorReturn(_this, Inner);
|
return babelHelpers.possibleConstructorReturn(_this, Inner);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Outer, _Hello);
|
||||||
return Outer;
|
return Outer;
|
||||||
}(Hello);
|
}(Hello);
|
||||||
|
|
||||||
|
|||||||
@ -19,8 +19,6 @@ function () {
|
|||||||
var Outer =
|
var Outer =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Hello) {
|
function (_Hello) {
|
||||||
babelHelpers.inherits(Outer, _Hello);
|
|
||||||
|
|
||||||
function Outer() {
|
function Outer() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -35,6 +33,7 @@ function (_Hello) {
|
|||||||
return babelHelpers.possibleConstructorReturn(_this, Inner);
|
return babelHelpers.possibleConstructorReturn(_this, Inner);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Outer, _Hello);
|
||||||
return Outer;
|
return Outer;
|
||||||
}(Hello);
|
}(Hello);
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,14 @@
|
|||||||
|
class Base {
|
||||||
|
get test() {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class Sub extends Base {
|
||||||
|
// Redefining method here
|
||||||
|
test() {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
expect(new Sub().test()).toBe(1);
|
||||||
|
|
||||||
@ -0,0 +1,14 @@
|
|||||||
|
class Base {
|
||||||
|
get test() {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class Sub extends Base {
|
||||||
|
// Redefining method here
|
||||||
|
test() {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
expect(new Sub().test()).toBe(1);
|
||||||
|
|
||||||
@ -0,0 +1,38 @@
|
|||||||
|
var Base =
|
||||||
|
/*#__PURE__*/
|
||||||
|
function () {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
function Base() {
|
||||||
|
babelHelpers.classCallCheck(this, Base);
|
||||||
|
}
|
||||||
|
|
||||||
|
babelHelpers.createClass(Base, [{
|
||||||
|
key: "test",
|
||||||
|
get: function get() {}
|
||||||
|
}]);
|
||||||
|
return Base;
|
||||||
|
}();
|
||||||
|
|
||||||
|
var Sub =
|
||||||
|
/*#__PURE__*/
|
||||||
|
function (_Base) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
function Sub() {
|
||||||
|
babelHelpers.classCallCheck(this, Sub);
|
||||||
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Sub).apply(this, arguments));
|
||||||
|
}
|
||||||
|
|
||||||
|
babelHelpers.createClass(Sub, [{
|
||||||
|
key: "test",
|
||||||
|
// Redefining method here
|
||||||
|
value: function test() {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
}]);
|
||||||
|
babelHelpers.inherits(Sub, _Base);
|
||||||
|
return Sub;
|
||||||
|
}(Base);
|
||||||
|
|
||||||
|
expect(new Sub().test()).toBe(1);
|
||||||
@ -3,13 +3,12 @@ var TestEmpty =
|
|||||||
function (_ref) {
|
function (_ref) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(TestEmpty, _ref);
|
|
||||||
|
|
||||||
function TestEmpty() {
|
function TestEmpty() {
|
||||||
babelHelpers.classCallCheck(this, TestEmpty);
|
babelHelpers.classCallCheck(this, TestEmpty);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(TestEmpty).apply(this, arguments));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(TestEmpty).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(TestEmpty, _ref);
|
||||||
return TestEmpty;
|
return TestEmpty;
|
||||||
}(
|
}(
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
@ -28,13 +27,12 @@ var TestConstructorOnly =
|
|||||||
function (_ref2) {
|
function (_ref2) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(TestConstructorOnly, _ref2);
|
|
||||||
|
|
||||||
function TestConstructorOnly() {
|
function TestConstructorOnly() {
|
||||||
babelHelpers.classCallCheck(this, TestConstructorOnly);
|
babelHelpers.classCallCheck(this, TestConstructorOnly);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(TestConstructorOnly).apply(this, arguments));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(TestConstructorOnly).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(TestConstructorOnly, _ref2);
|
||||||
return TestConstructorOnly;
|
return TestConstructorOnly;
|
||||||
}(
|
}(
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
@ -53,13 +51,12 @@ var TestMethodOnly =
|
|||||||
function (_ref3) {
|
function (_ref3) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(TestMethodOnly, _ref3);
|
|
||||||
|
|
||||||
function TestMethodOnly() {
|
function TestMethodOnly() {
|
||||||
babelHelpers.classCallCheck(this, TestMethodOnly);
|
babelHelpers.classCallCheck(this, TestMethodOnly);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(TestMethodOnly).apply(this, arguments));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(TestMethodOnly).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(TestMethodOnly, _ref3);
|
||||||
return TestMethodOnly;
|
return TestMethodOnly;
|
||||||
}(
|
}(
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
@ -82,13 +79,12 @@ var TestConstructorAndMethod =
|
|||||||
function (_ref4) {
|
function (_ref4) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(TestConstructorAndMethod, _ref4);
|
|
||||||
|
|
||||||
function TestConstructorAndMethod() {
|
function TestConstructorAndMethod() {
|
||||||
babelHelpers.classCallCheck(this, TestConstructorAndMethod);
|
babelHelpers.classCallCheck(this, TestConstructorAndMethod);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(TestConstructorAndMethod).apply(this, arguments));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(TestConstructorAndMethod).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(TestConstructorAndMethod, _ref4);
|
||||||
return TestConstructorAndMethod;
|
return TestConstructorAndMethod;
|
||||||
}(
|
}(
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
@ -111,13 +107,12 @@ var TestMultipleMethods =
|
|||||||
function (_ref5) {
|
function (_ref5) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(TestMultipleMethods, _ref5);
|
|
||||||
|
|
||||||
function TestMultipleMethods() {
|
function TestMultipleMethods() {
|
||||||
babelHelpers.classCallCheck(this, TestMultipleMethods);
|
babelHelpers.classCallCheck(this, TestMultipleMethods);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(TestMultipleMethods).apply(this, arguments));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(TestMultipleMethods).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(TestMultipleMethods, _ref5);
|
||||||
return TestMultipleMethods;
|
return TestMultipleMethods;
|
||||||
}(
|
}(
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
|
|||||||
@ -3,13 +3,12 @@ var BaseController =
|
|||||||
function (_Chaplin$Controller) {
|
function (_Chaplin$Controller) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(BaseController, _Chaplin$Controller);
|
|
||||||
|
|
||||||
function BaseController() {
|
function BaseController() {
|
||||||
babelHelpers.classCallCheck(this, BaseController);
|
babelHelpers.classCallCheck(this, BaseController);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(BaseController).apply(this, arguments));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(BaseController).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(BaseController, _Chaplin$Controller);
|
||||||
return BaseController;
|
return BaseController;
|
||||||
}(Chaplin.Controller);
|
}(Chaplin.Controller);
|
||||||
|
|
||||||
@ -18,12 +17,11 @@ var BaseController2 =
|
|||||||
function (_Chaplin$Controller$A) {
|
function (_Chaplin$Controller$A) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(BaseController2, _Chaplin$Controller$A);
|
|
||||||
|
|
||||||
function BaseController2() {
|
function BaseController2() {
|
||||||
babelHelpers.classCallCheck(this, BaseController2);
|
babelHelpers.classCallCheck(this, BaseController2);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(BaseController2).apply(this, arguments));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(BaseController2).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(BaseController2, _Chaplin$Controller$A);
|
||||||
return BaseController2;
|
return BaseController2;
|
||||||
}(Chaplin.Controller.Another);
|
}(Chaplin.Controller.Another);
|
||||||
|
|||||||
@ -3,12 +3,11 @@ var Test =
|
|||||||
function (_Foo) {
|
function (_Foo) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Test, _Foo);
|
|
||||||
|
|
||||||
function Test() {
|
function Test() {
|
||||||
babelHelpers.classCallCheck(this, Test);
|
babelHelpers.classCallCheck(this, Test);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Test).apply(this, arguments));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Test).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Test, _Foo);
|
||||||
return Test;
|
return Test;
|
||||||
}(Foo);
|
}(Foo);
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
|
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
||||||
|
|
||||||
function _get(target, property, receiver) { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); }
|
function _get(target, property, receiver) { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); }
|
||||||
|
|
||||||
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
||||||
@ -19,8 +19,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
_inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -31,5 +29,7 @@ function (_Bar) {
|
|||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_inherits(Foo, _Bar);
|
||||||
|
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
|
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
||||||
|
|
||||||
function _get(target, property, receiver) { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); }
|
function _get(target, property, receiver) { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); }
|
||||||
|
|
||||||
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
||||||
@ -19,8 +19,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
_inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -31,5 +29,7 @@ function (_Bar) {
|
|||||||
return _this = _possibleConstructorReturn(this, _getPrototypeOf(Foo).call(this));
|
return _this = _possibleConstructorReturn(this, _getPrototypeOf(Foo).call(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_inherits(Foo, _Bar);
|
||||||
|
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -16,5 +14,6 @@ function (_Bar) {
|
|||||||
return _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).call(this));
|
return _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).call(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -17,5 +15,6 @@ function (_Bar) {
|
|||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -15,5 +13,6 @@ function (_Bar) {
|
|||||||
return _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).call(this));
|
return _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).call(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -13,5 +11,6 @@ function (_Bar) {
|
|||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -12,5 +10,6 @@ function (_Bar) {
|
|||||||
return _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).call(this, babelHelpers.assertThisInitialized(_this)));
|
return _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).call(this, babelHelpers.assertThisInitialized(_this)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -16,5 +14,6 @@ function (_Bar) {
|
|||||||
return _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).call(this));
|
return _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).call(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -17,5 +15,6 @@ function (_Bar) {
|
|||||||
return _this;
|
return _this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -13,5 +11,6 @@ function (_Bar) {
|
|||||||
return babelHelpers.possibleConstructorReturn(_this);
|
return babelHelpers.possibleConstructorReturn(_this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -3,8 +3,6 @@ var Foo =
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
@ -13,5 +11,6 @@ function (_Bar) {
|
|||||||
return _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).call(this));
|
return _this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).call(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -10,8 +10,6 @@ var _store = require("./store");
|
|||||||
let Login =
|
let Login =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_React$Component) {
|
function (_React$Component) {
|
||||||
babelHelpers.inherits(Login, _React$Component);
|
|
||||||
|
|
||||||
function Login() {
|
function Login() {
|
||||||
babelHelpers.classCallCheck(this, Login);
|
babelHelpers.classCallCheck(this, Login);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Login).apply(this, arguments));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Login).apply(this, arguments));
|
||||||
@ -23,6 +21,7 @@ function (_React$Component) {
|
|||||||
return (0, _store.getForm)().toJS();
|
return (0, _store.getForm)().toJS();
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
babelHelpers.inherits(Login, _React$Component);
|
||||||
return Login;
|
return Login;
|
||||||
}(React.Component);
|
}(React.Component);
|
||||||
|
|
||||||
|
|||||||
@ -5,13 +5,12 @@ function broken(x) {
|
|||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
babelHelpers.classCallCheck(this, Foo);
|
babelHelpers.classCallCheck(this, Foo);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).apply(this, arguments));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|
||||||
|
|||||||
@ -15,6 +15,10 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat
|
|||||||
|
|
||||||
function _classCallCheck(instance, Constructor) { if (!_instanceof(instance, Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!_instanceof(instance, Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||||
|
|
||||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||||
@ -23,10 +27,6 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
|
|||||||
|
|
||||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || function _getPrototypeOf(o) { return o.__proto__; }; return _getPrototypeOf(o); }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
||||||
|
|
||||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
||||||
|
|
||||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||||
@ -34,8 +34,6 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|||||||
var App =
|
var App =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Component) {
|
function (_Component) {
|
||||||
_inherits(App, _Component);
|
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
var _getPrototypeOf2;
|
var _getPrototypeOf2;
|
||||||
|
|
||||||
@ -57,6 +55,8 @@ function (_Component) {
|
|||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
_inherits(App, _Component);
|
||||||
|
|
||||||
return App;
|
return App;
|
||||||
}(Component);
|
}(Component);
|
||||||
|
|
||||||
|
|||||||
@ -11,8 +11,6 @@ let App =
|
|||||||
function (_React$Component) {
|
function (_React$Component) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(App, _React$Component);
|
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
babelHelpers.classCallCheck(this, App);
|
babelHelpers.classCallCheck(this, App);
|
||||||
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(App).apply(this, arguments));
|
return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(App).apply(this, arguments));
|
||||||
@ -31,5 +29,6 @@ function (_React$Component) {
|
|||||||
</div>;
|
</div>;
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
babelHelpers.inherits(App, _React$Component);
|
||||||
return App;
|
return App;
|
||||||
}(React.Component);
|
}(React.Component);
|
||||||
|
|||||||
@ -1,23 +1,23 @@
|
|||||||
var _classCallCheck = require("@babel/runtime/helpers/builtin/es6/classCallCheck");
|
var _classCallCheck = require("@babel/runtime/helpers/builtin/es6/classCallCheck");
|
||||||
|
|
||||||
|
var _inherits = require("@babel/runtime/helpers/builtin/es6/inherits");
|
||||||
|
|
||||||
var _possibleConstructorReturn = require("@babel/runtime/helpers/builtin/es6/possibleConstructorReturn");
|
var _possibleConstructorReturn = require("@babel/runtime/helpers/builtin/es6/possibleConstructorReturn");
|
||||||
|
|
||||||
var _getPrototypeOf = require("@babel/runtime/helpers/builtin/es6/getPrototypeOf");
|
var _getPrototypeOf = require("@babel/runtime/helpers/builtin/es6/getPrototypeOf");
|
||||||
|
|
||||||
var _inherits = require("@babel/runtime/helpers/builtin/es6/inherits");
|
|
||||||
|
|
||||||
let Foo =
|
let Foo =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
_inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
_classCallCheck(this, Foo);
|
_classCallCheck(this, Foo);
|
||||||
|
|
||||||
return _possibleConstructorReturn(this, _getPrototypeOf(Foo).apply(this, arguments));
|
return _possibleConstructorReturn(this, _getPrototypeOf(Foo).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_inherits(Foo, _Bar);
|
||||||
|
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -1,23 +1,23 @@
|
|||||||
var _classCallCheck = require("@babel/runtime/helpers/builtin/classCallCheck");
|
var _classCallCheck = require("@babel/runtime/helpers/builtin/classCallCheck");
|
||||||
|
|
||||||
|
var _inherits = require("@babel/runtime/helpers/builtin/inherits");
|
||||||
|
|
||||||
var _possibleConstructorReturn = require("@babel/runtime/helpers/builtin/possibleConstructorReturn");
|
var _possibleConstructorReturn = require("@babel/runtime/helpers/builtin/possibleConstructorReturn");
|
||||||
|
|
||||||
var _getPrototypeOf = require("@babel/runtime/helpers/builtin/getPrototypeOf");
|
var _getPrototypeOf = require("@babel/runtime/helpers/builtin/getPrototypeOf");
|
||||||
|
|
||||||
var _inherits = require("@babel/runtime/helpers/builtin/inherits");
|
|
||||||
|
|
||||||
let Foo =
|
let Foo =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
_inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
_classCallCheck(this, Foo);
|
_classCallCheck(this, Foo);
|
||||||
|
|
||||||
return _possibleConstructorReturn(this, _getPrototypeOf(Foo).apply(this, arguments));
|
return _possibleConstructorReturn(this, _getPrototypeOf(Foo).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_inherits(Foo, _Bar);
|
||||||
|
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -1,23 +1,23 @@
|
|||||||
var _classCallCheck = require("@babel/runtime/helpers/es6/classCallCheck");
|
var _classCallCheck = require("@babel/runtime/helpers/es6/classCallCheck");
|
||||||
|
|
||||||
|
var _inherits = require("@babel/runtime/helpers/es6/inherits");
|
||||||
|
|
||||||
var _possibleConstructorReturn = require("@babel/runtime/helpers/es6/possibleConstructorReturn");
|
var _possibleConstructorReturn = require("@babel/runtime/helpers/es6/possibleConstructorReturn");
|
||||||
|
|
||||||
var _getPrototypeOf = require("@babel/runtime/helpers/es6/getPrototypeOf");
|
var _getPrototypeOf = require("@babel/runtime/helpers/es6/getPrototypeOf");
|
||||||
|
|
||||||
var _inherits = require("@babel/runtime/helpers/es6/inherits");
|
|
||||||
|
|
||||||
let Foo =
|
let Foo =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Bar) {
|
function (_Bar) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
_inherits(Foo, _Bar);
|
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
_classCallCheck(this, Foo);
|
_classCallCheck(this, Foo);
|
||||||
|
|
||||||
return _possibleConstructorReturn(this, _getPrototypeOf(Foo).apply(this, arguments));
|
return _possibleConstructorReturn(this, _getPrototypeOf(Foo).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_inherits(Foo, _Bar);
|
||||||
|
|
||||||
return Foo;
|
return Foo;
|
||||||
}(Bar);
|
}(Bar);
|
||||||
|
|||||||
@ -4,12 +4,12 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat
|
|||||||
|
|
||||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } _setPrototypeOf(subClass.prototype, superClass && superClass.prototype); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
||||||
|
|
||||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
||||||
|
|
||||||
function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() {} Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, _setPrototypeOf(function Super() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); }, Class)); }; return _wrapNativeSuper(Class); }
|
function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() {} Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, _setPrototypeOf(function Super() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); }, Class)); }; return _wrapNativeSuper(Class); }
|
||||||
|
|
||||||
function _construct(Parent, args, Class) { if (typeof Reflect !== "undefined" && Reflect.construct) { _construct = Reflect.construct; } else { _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); }
|
function _construct(Parent, args, Class) { if (typeof Reflect !== "undefined" && Reflect.construct) { _construct = Reflect.construct; } else { _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); }
|
||||||
@ -21,14 +21,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.getPrototypeOf || functio
|
|||||||
var MyDate =
|
var MyDate =
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
function (_Date) {
|
function (_Date) {
|
||||||
_inherits(MyDate, _Date);
|
|
||||||
|
|
||||||
function MyDate(time) {
|
function MyDate(time) {
|
||||||
_classCallCheck(this, MyDate);
|
_classCallCheck(this, MyDate);
|
||||||
|
|
||||||
return _possibleConstructorReturn(this, _getPrototypeOf(MyDate).call(this, time));
|
return _possibleConstructorReturn(this, _getPrototypeOf(MyDate).call(this, time));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_inherits(MyDate, _Date);
|
||||||
|
|
||||||
return MyDate;
|
return MyDate;
|
||||||
}(_wrapNativeSuper(Date));
|
}(_wrapNativeSuper(Date));
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user