* 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
15 lines
328 B
JavaScript
15 lines
328 B
JavaScript
var Foo = function (_Bar) {
|
|
babelHelpers.inherits(Foo, _Bar);
|
|
|
|
function Foo() {
|
|
var _this;
|
|
|
|
babelHelpers.classCallCheck(this, Foo);
|
|
_this = babelHelpers.possibleConstructorReturn(this, (Foo.__proto__ || Object.getPrototypeOf(Foo)).call(this));
|
|
_this.bar = "foo";
|
|
return _this;
|
|
}
|
|
|
|
return Foo;
|
|
}(Bar);
|