change ClassExpression visitor to enter instead of exist in the es6.classes transformer
This commit is contained in:
parent
590a165776
commit
b02a1112bc
@ -17,11 +17,9 @@ export function ClassDeclaration(node, parent, scope, file) {
|
||||
]);
|
||||
}
|
||||
|
||||
export var ClassExpression = {
|
||||
exit(node, parent, scope, file) {
|
||||
return new ClassTransformer(this, file).run();
|
||||
}
|
||||
};
|
||||
export function ClassExpression(node, parent, scope, file) {
|
||||
return new ClassTransformer(this, file).run();
|
||||
}
|
||||
|
||||
var collectPropertyReferencesVisitor = {
|
||||
Identifier: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user