소스 검색

Add test case for recursive partial. If it weren't for complex.html

it could be neat and there'd be s/kids/children/ — Oh well.
tags/0.3.0
Jan Lehnardt 16 년 전
부모
커밋
1f0ca2fe50
3개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +2
    -2
      examples/partial_recursion.html
  2. +1
    -1
      examples/partial_recursion.js
  3. +1
    -1
      examples/partial_recursion.txt

+ 2
- 2
examples/partial_recursion.html 파일 보기

@@ -1,4 +1,4 @@
{{name}}
{{#children}}
{{#kids}}
{{>partial}}
{{/children}}
{{/kids}}

+ 1
- 1
examples/partial_recursion.js 파일 보기

@@ -1,6 +1,6 @@
var partial_context = {
name: '1',
children: [
kids: [
{
name: '1.1',
children: [


+ 1
- 1
examples/partial_recursion.txt 파일 보기

@@ -1,3 +1,3 @@
1
1.1
1.1.1
1.1.1

불러오는 중...
취소
저장