call transformer methods on traverse context
This commit is contained in:
parent
07ddfbeb5d
commit
6c5606b7e8
@ -65,7 +65,7 @@ Transformer.prototype.transform = function (file) {
|
|||||||
if (exit) fn = fns.exit;
|
if (exit) fn = fns.exit;
|
||||||
if (!fn) return;
|
if (!fn) return;
|
||||||
|
|
||||||
return fn(node, parent, file, scope);
|
return fn.call(this, node, parent, file, scope);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user