Browse Source

Add tests for null view

tags/0.7.0
Michael Jackson 13 years ago
parent
commit
0a6d71ca90
3 changed files with 6 additions and 0 deletions
  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 View File

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

+ 1
- 0
test/_files/null_view.mustache View File

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

+ 1
- 0
test/_files/null_view.txt View File

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

Loading…
Cancel
Save