2016-05-28 09:51:28 -04:00

33 lines
530 B
JavaScript

class MyClass {
constructor() {
var _this = this;
this.myAsyncMethod = babelHelpers.asyncToGenerator(function* () {
console.log(_this);
});
}
}
(class MyClass2 {
constructor() {
var _this2 = this;
this.myAsyncMethod = babelHelpers.asyncToGenerator(function* () {
console.log(_this2);
});
}
});
export default class MyClass3 {
constructor() {
var _this3 = this;
this.myAsyncMethod = babelHelpers.asyncToGenerator(function* () {
console.log(_this3);
});
}
}