【发布时间】:2014-05-18 18:40:18
【问题描述】:
我正在更新我使用 Botstrap v2.3.2 和 LESS 的旧项目之一。它曾经顺利编译,但现在我收到此错误:
LESS CSS Compiler Error
mixins.less: Parse Error: Unrecognised input (line 561, column 6) near .spanX
(@index) when (@index > 0) { (~".span@{index}") { .span(@index); } .spanX(@index - 1);
问题似乎在这里:
.spanX (@index) when (@index > 0) {
(~".span@{index}") { .span(@index); } // <-- line 561 in mixins.less
.spanX(@index - 1);
}
不确定是什么问题。有什么想法吗?
【问题讨论】:
-
@seven-phases-max 干杯。像魅力一样工作。
标签: less webstorm twitter-bootstrap-2