使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
jan
/
mustache.js
镜像自地址
https://github.com/janl/mustache.js
关注
1
点赞
0
派生
0
代码
工单
0
版本发布
46
百科
动态
浏览代码
Add test case for recursive partial. If it weren't for complex.html
it could be neat and there'd be s/kids/children/ — Oh well.
tags/0.3.0
Jan Lehnardt
16 年前
父节点
1e7fce2e7a
当前提交
1f0ca2fe50
共有
3 个文件被更改
,包括
4 次插入
和
4 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+2
-2
examples/partial_recursion.html
+1
-1
examples/partial_recursion.js
+1
-1
examples/partial_recursion.txt
+ 2
- 2
examples/partial_recursion.html
查看文件
@@ -1,4 +1,4 @@
{{name}}
{{#
children
}}
{{#
kids
}}
{{>partial}}
{{/
children
}}
{{/
kids
}}
+ 1
- 1
examples/partial_recursion.js
查看文件
@@ -1,6 +1,6 @@
var partial_context = {
name: '1',
children
: [
kids
: [
{
name: '1.1',
children: [
+ 1
- 1
examples/partial_recursion.txt
查看文件
@@ -1,3 +1,3 @@
1
1.1
1.1.1
1.1.1
撰写
预览
正在加载...
取消
保存