remove unused variable
This commit is contained in:
@@ -80,7 +80,7 @@ SystemFormatter.prototype.transform = function (ast) {
|
||||
|
||||
// hoist up function declarations for circular references
|
||||
traverse(program, {
|
||||
enter: function (node, parent) {
|
||||
enter: function (node) {
|
||||
if (t.isFunction(node)) this.stop();
|
||||
|
||||
if (t.isFunctionDeclaration(node) || node._blockHoist) {
|
||||
|
||||
Reference in New Issue
Block a user