30 lines
783 B
JavaScript
30 lines
783 B
JavaScript
var A = function () {
|
|
function A() {
|
|
babelHelpers.classCallCheck(this, A);
|
|
}
|
|
|
|
babelHelpers.createClass(A, [{
|
|
key: "foo",
|
|
value: function foo() {
|
|
return "bar";
|
|
}
|
|
}]);
|
|
return A;
|
|
}();
|
|
|
|
var B = function (_A) {
|
|
babelHelpers.inherits(B, _A);
|
|
|
|
function B(...args) {
|
|
var _temp, _this;
|
|
|
|
babelHelpers.classCallCheck(this, B);
|
|
return babelHelpers.possibleConstructorReturn(_this, (_temp = _this = babelHelpers.possibleConstructorReturn(this, (B.__proto__ || Object.getPrototypeOf(B)).call(this, ...args)), Object.defineProperty(_this, "foo", {
|
|
enumerable: true,
|
|
writable: true,
|
|
value: babelHelpers.get(B.prototype.__proto__ || Object.getPrototypeOf(B.prototype), "foo", _this).call(_this)
|
|
}), _temp));
|
|
}
|
|
|
|
return B;
|
|
}(A); |