이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
jan
/
mustache.js
의 미러
https://github.com/janl/mustache.js
보기
1
좋아요
0
포크
0
코드
이슈
0
릴리즈
46
위키
활동
소스 검색
Merge pull request
#380
from skybet/section-with-length-property
Section with "length" property
tags/v1.0.0
David da Silva Contín
11 년 전
부모
77a7ab344c
d9aa703014
커밋
85e43f97d8
4개의 변경된 파일
과
6개의 추가작업
그리고
1개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mustache.js
+3
-0
test/_files/bug_length_property.js
+1
-0
test/_files/bug_length_property.mustache
+1
-0
test/_files/bug_length_property.txt
+ 1
- 1
mustache.js
파일 보기
@@ -368,7 +368,7 @@
while (value != null && index < names.length)
value = value[names[index++]];
} else {
} else
if (typeof context.view == 'object')
{
value = context.view[name];
}
+ 3
- 0
test/_files/bug_length_property.js
파일 보기
@@ -0,0 +1,3 @@
({
length: 'hello'
})
+ 1
- 0
test/_files/bug_length_property.mustache
파일 보기
@@ -0,0 +1 @@
{{#length}}The length variable is: {{length}}{{/length}}
+ 1
- 0
test/_files/bug_length_property.txt
파일 보기
@@ -0,0 +1 @@
The length variable is: hello
쓰기
미리보기
불러오는 중...
취소
저장