remove uneeded param

This commit is contained in:
Henry Zhu 2015-06-10 17:07:53 -04:00
parent d5e2ac1fb6
commit eaec0f1595

View File

@ -216,7 +216,7 @@ var astTransformVisitor = {
delete node.isType;
}
if (this.isExportDeclaration(node)) {
if (this.isExportDeclaration())) {
var declar = this.get("declaration");
if (declar.isClassExpression()) {
node.declaration.type = "ClassDeclaration";