Browse Source

Add spec for nested iteration (issue #79)

tags/0.5.1
Michael Jackson 14 years ago
parent
commit
905ccbbac8
3 changed files with 10 additions and 0 deletions
  1. +8
    -0
      spec/_files/nested_iterating.js
  2. +1
    -0
      spec/_files/nested_iterating.mustache
  3. +1
    -0
      spec/_files/nested_iterating.txt

+ 8
- 0
spec/_files/nested_iterating.js View File

@@ -0,0 +1,8 @@
var nested_iterating = {
inner: [{
foo: 'foo',
inner: [{
bar: 'bar'
}]
}]
};

+ 1
- 0
spec/_files/nested_iterating.mustache View File

@@ -0,0 +1 @@
{{#inner}}{{foo}}{{#inner}}{{bar}}{{/inner}}{{/inner}}

+ 1
- 0
spec/_files/nested_iterating.txt View File

@@ -0,0 +1 @@
foobar

Loading…
Cancel
Save