瀏覽代碼

Add tests for null view

tags/0.7.0
Michael Jackson 13 年之前
父節點
當前提交
0a6d71ca90
共有 3 個檔案被更改,包括 6 行新增0 行删除
  1. +4
    -0
      test/_files/null_view.js
  2. +1
    -0
      test/_files/null_view.mustache
  3. +1
    -0
      test/_files/null_view.txt

+ 4
- 0
test/_files/null_view.js 查看文件

@@ -0,0 +1,4 @@
({
name: 'Joe',
friends: null
})

+ 1
- 0
test/_files/null_view.mustache 查看文件

@@ -0,0 +1 @@
{{name}}'s friends: {{#friends}}{{name}}, {{/friends}}

+ 1
- 0
test/_files/null_view.txt 查看文件

@@ -0,0 +1 @@
Joe's friends:

Loading…
取消
儲存