rejigger decorator alias

This commit is contained in:
Sebastian McKenzie
2015-04-12 19:10:22 -07:00
parent a971ad7fd2
commit 61b57ea055
4 changed files with 9 additions and 16 deletions

View File

@@ -185,7 +185,7 @@ class ClassTransformer {
this.classRef = this.scope.generateUidIdentifier(classRef);
// this is so super calls and the decorators have access to the raw function
body.unshift(t.variableDeclaration("var", [
body.push(t.variableDeclaration("var", [
t.variableDeclarator(this.classRef, classRef)
]));
}