이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
jan
/
mustache.js
의 미러
https://github.com/janl/mustache.js
보기
1
좋아요
0
포크
0
코드
이슈
0
릴리즈
46
위키
활동
소스 검색
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 년 전
부모
1e7fce2e7a
커밋
1f0ca2fe50
3개의 변경된 파일
과
4개의 추가작업
그리고
4개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
examples/partial_recursion.html
+1
-1
examples/partial_recursion.js
+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
쓰기
미리보기
불러오는 중...
취소
저장