瀏覽代碼

add nexting example

tags/0.5.0-vsc
Jan Lehnardt 15 年之前
父節點
當前提交
29de9bacf5
共有 3 個檔案被更改,包括 16 行新增0 行删除
  1. +5
    -0
      examples/nesting.html
  2. +7
    -0
      examples/nesting.js
  3. +4
    -0
      examples/nesting.txt

+ 5
- 0
examples/nesting.html 查看文件

@@ -0,0 +1,5 @@
{{#foo}}
{{#a}}
{{b}}
{{/a}}
{{/foo}}

+ 7
- 0
examples/nesting.js 查看文件

@@ -0,0 +1,7 @@
var nesting = {
foo: [
{a: {b: 1}},
{a: {b: 2}},
{a: {b: 3}}
]
};

+ 4
- 0
examples/nesting.txt 查看文件

@@ -0,0 +1,4 @@
1
2
3

Loading…
取消
儲存