소스 검색

Style tweaks

tags/0.8.1
Michael Jackson 12 년 전
부모
커밋
16ffa430a1
1개의 변경된 파일6개의 추가작업 그리고 3개의 파일을 삭제
  1. +6
    -3
      mustache.js

+ 6
- 3
mustache.js 파일 보기

@@ -411,11 +411,14 @@
* that is generated from the parse.
*/
Writer.prototype.parse = function (template, tags) {
if (!(template in this.cache)) {
this.cache[template] = parseTemplate(template, tags);
var cache = this.cache;
var tokens = cache[template];

if (tokens == null) {
tokens = cache[template] = parseTemplate(template, tags);
}

return this.cache[template];
return tokens;
};

/**


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