DotLess LessCss compiler is different to WebEssentials LessCss compiler
问题 I'm using dotless to parse LessCss at runtime. This is mostly successful but I have one scenario where it doesn't work as intended. Given the following LessCss: @tileWidth: 50px; @tileMarginX: 5px; @gridWidth: 2; // recursive less to generate all x positions down to 1 .position-x(@maxIndex) when (@maxIndex > 0) { [data-col="@{maxIndex}"] { left: ((@maxIndex - 1) * @tileWidth) + (@tileMarginX * ((@maxIndex * 2) - 1)); } .position-x(@maxIndex - 1); } .position-x(@gridWidth); WebEssentials 2013