This website works better with JavaScript.
首頁
探索
說明
登入
jan
/
mustache.js
镜像来自
https://github.com/janl/mustache.js
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
46
Wiki
Activity
瀏覽代碼
add a (failing for now) example of loop inside a partial
tags/0.2.3
Damien Mathieu
16 年之前
父節點
5c3a177662
當前提交
2d574f70dc
共有
4 個文件被更改
,包括
18 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
examples/array_partial.2.html
+1
-0
examples/array_partial.html
+5
-0
examples/array_partial.js
+6
-0
examples/array_partial.txt
+ 6
- 0
examples/array_partial.2.html
查看文件
@@ -0,0 +1,6 @@
Here's a non-sense array of values
{{%IMPLICIT-ITERATOR}}
{{#array}}
{{.}}
{{/array}}
+ 1
- 0
examples/array_partial.html
查看文件
@@ -0,0 +1 @@
{{>partial}}
+ 5
- 0
examples/array_partial.js
查看文件
@@ -0,0 +1,5 @@
var partial_context = {
partial: {
array: ['1', '2', '3', '4']
}
};
+ 6
- 0
examples/array_partial.txt
查看文件
@@ -0,0 +1,6 @@
Here's a non-sense array of values
1
2
3
4
Write
Preview
Loading…
取消
儲存