remove useless root variable in umd module formatter
This commit is contained in:
@@ -43,6 +43,6 @@ UMDFormatter.prototype.transform = function (ast) {
|
||||
|
||||
//
|
||||
|
||||
var call = b.callExpression(runner, [b.thisExpression(), factory]);
|
||||
var call = b.callExpression(runner, [factory]);
|
||||
program.body = [b.expressionStatement(call)];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user