소스 검색

proper undefined check

tags/0.5.0-vsc
unknown 16 년 전
부모
커밋
d75f981cf9
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      mustache.js

+ 2
- 2
mustache.js 파일 보기

@@ -444,11 +444,11 @@ var Mustache = function() {
var value;
value = this.find(name, contextStack[contextStack.length-1]);
if (value) { return value; }
if (value!==undefined) { return value; }
if (contextStack.length>1) {
value = this.find(name, contextStack[0]);
if (value) { return value; }
if (value!==undefined) { return value; }
}
return undefined;


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