瀏覽代碼

preserve translation-hint correctly

tags/0.4.0
Ben Cherry 15 年之前
父節點
當前提交
4930a1dfe7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js 查看文件

@@ -37,7 +37,7 @@ var Mustache = function() {

// Branching or moving down the partial stack, save any translation mode info.
if (this.pragmas['TRANSLATION-HINT']) {
context['_mode'] = this.pragmas['TRANSLATION-HINT']['mode'];
context['_TRANSLATION-HINT_mode'] = this.pragmas['TRANSLATION-HINT'].mode;
}

// get the pragmas together


Loading…
取消
儲存