fix linting errors

This commit is contained in:
Sebastian McKenzie 2015-06-30 15:17:26 +01:00
parent c5a8702021
commit 910622e66e

View File

@ -117,7 +117,6 @@ export default class ClassTransformer {
run() {
var superName = this.superName;
var classRef = this.classRef;
var file = this.file;
//
@ -127,7 +126,7 @@ export default class ClassTransformer {
//
var constructorBody = this.constructorBody = t.blockStatement([]);
var constructor = this.constructor = this.buildConstructor();
this.constructor = this.buildConstructor();
//
@ -540,9 +539,8 @@ export default class ClassTransformer {
fnPath.scope.rename(this.classRef.name);
}
var constructorBody = this.constructorBody;
var construct = this.constructor;
var fn = method.value;
var construct = this.constructor;
var fn = method.value;
this.userConstructorPath = fnPath;
this.userConstructor = fn;