* add transform-class-properties to stage 3, set spec mode to default * update readme with examples; use `buildUndefinedNode()`; change behavior to always define both static and nonstatic class properties regardless of spec/loose mode; update tests
13 lines
400 B
JavaScript
13 lines
400 B
JavaScript
var Foo = function (_Bar) {
|
|
babelHelpers.inherits(Foo, _Bar);
|
|
|
|
function Foo(...args) {
|
|
var _temp, _this;
|
|
|
|
babelHelpers.classCallCheck(this, Foo);
|
|
return babelHelpers.possibleConstructorReturn(_this, (_temp = _this = babelHelpers.possibleConstructorReturn(this, (Foo.__proto__ || Object.getPrototypeOf(Foo)).call(this, ...args)), _this.bar = "foo", _temp));
|
|
}
|
|
|
|
return Foo;
|
|
}(Bar);
|