質問編集履歴
2
追記:解決困難
test
CHANGED
File without changes
|
test
CHANGED
@@ -31,3 +31,15 @@
|
|
31
31
|
|
32
32
|
|
33
33
|
`body`で`xs`をmixinとして実行し、`body{color:#fff}`というコンパイル結果にしたいのですが、正しい記法について教えて下さい。
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
追記:
|
38
|
+
|
39
|
+
> but without closures we'll always get the last value of $i inside the loop.
|
40
|
+
|
41
|
+
[https://github.com/stylus/stylus/issues/1783](https://github.com/stylus/stylus/issues/1783)
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
現在、匿名関数は使用できますが、これをクロージャにすることはできません。とメンテナの方の回答を見つけました。ASTを直接生成するしか無さそうですね…。
|
1
タグの変更
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|