mirror of
https://github.com/less/less.js.git
synced 2026-02-08 22:15:04 -05:00
Fix bad reliance on env variable, causing error when interpolating a comma seperated value
This commit is contained in:
@@ -22,7 +22,7 @@ tree.Value.prototype = {
|
||||
for(i = 0; i < this.value.length; i++) {
|
||||
this.value[i].genCSS(env, output);
|
||||
if (i+1 < this.value.length) {
|
||||
output.add(env.compress ? ',' : ', ');
|
||||
output.add((env && env.compress) ? ',' : ', ');
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user