8000 fix for unamed parameter · rusongyu/less.js@b144fc5 · GitHub
[go: up one dir, main page]

Skip to content

Commit b144fc5

Browse files
committed
fix for unamed parameter
1 parent a2df119 commit b144fc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/less/tree/mixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ tree.mixin.Definition.prototype = {
8787
if (this.params[i].variadic && args) {
8888
varargs = [];
8989
for (var j = i; j < args.length; j++) {
5C60
90-
varargs.push(args[j].eval(env));
90+
varargs.push(args[j].value.eval(env));
9191
}
9292
frame.rules.unshift(new(tree.Rule)(name, new(tree.Expression)(varargs).eval(env)));
9393
} else if (val = (arg && arg.value) || this.params[i].value) {

0 commit comments

Comments
 (0)
0