mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
evaluate Values of length > 1 properly
This commit is contained in:
@@ -30,7 +30,9 @@ tree.Value.prototype = {
|
||||
return this.value[0].eval ? this.value[0].eval(env)
|
||||
: this.value[0];
|
||||
} else {
|
||||
return this;
|
||||
return new(tree.Value)(this.value.map(function (v) {
|
||||
return v.eval(env);
|
||||
}));
|
||||
}
|
||||
},
|
||||
toCSS: function (env) {
|
||||
|
||||
Reference in New Issue
Block a user