diff --git a/lib/less/node/call.js b/lib/less/node/call.js index 1bc0300..d36cca6 100644 --- a/lib/less/node/call.js +++ b/lib/less/node/call.js @@ -6,6 +6,7 @@ tree.Call = function Call(name, args) { }; tree.Call.prototype = { toCSS: function (context, env) { - return tree.functions[this.name].apply(tree.functions, this.args).toCSS(); + var args = this.args.map(function (a) { return a.eval() }); + return tree.functions[this.name].apply(tree.functions, args).toCSS(); } };