mirror of
https://github.com/less/less.js.git
synced 2026-02-09 22:45:28 -05:00
Pass env with toCSS in function call evaluation; Add tests; Fixes #957
This commit is contained in:
@@ -36,7 +36,7 @@ tree.Call.prototype = {
|
||||
}
|
||||
} else { // 2.
|
||||
return new(tree.Anonymous)(this.name +
|
||||
"(" + args.map(function (a) { return a.toCSS() }).join(', ') + ")");
|
||||
"(" + args.map(function (a) { return a.toCSS(env) }).join(', ') + ")");
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user