fix exported classes with static class properties - fixes #2868

This commit is contained in:
Sebastian McKenzie
2015-11-10 15:56:22 -08:00
parent 29f756fd6f
commit 54c13eef5c
24 changed files with 24 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
var Foo = (function (_Bar) {
babelHelpers.inherits(Foo, _Bar);
function Foo() {
var _temp, _this;
babelHelpers.classCallCheck(this, Foo);
foo((_temp = (_this = babelHelpers.possibleConstructorReturn(this, Object.getPrototypeOf(Foo).call(this)), _this), _this.bar = "foo", _temp));
return _this;
}
return Foo;
})(Bar);