Explorar el Código

Add spec for nested iteration (issue #79)

tags/0.5.1
Michael Jackson hace 14 años
padre
commit
905ccbbac8
Se han modificado 3 ficheros con 10 adiciones y 0 borrados
  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 Ver fichero

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

+ 1
- 0
spec/_files/nested_iterating.mustache Ver fichero

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

+ 1
- 0
spec/_files/nested_iterating.txt Ver fichero

@@ -0,0 +1 @@
foobar

Cargando…
Cancelar
Guardar