mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
Move importing into visitor
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
visitArgs;
|
||||
if (func) {
|
||||
visitArgs = {visitDeeper: true};
|
||||
node = func(node, visitArgs);
|
||||
node = func.call(this._implementation, node, visitArgs);
|
||||
}
|
||||
if ((!visitArgs || visitArgs.visitDeeper) && node && node.accept) {
|
||||
node.accept(this);
|
||||
|
||||
Reference in New Issue
Block a user