瀏覽代碼

Use var declaration for helper functions

tags/0.5.2
Michael Jackson 14 年之前
父節點
當前提交
72971b320c
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      mustache.js

+ 2
- 2
mustache.js 查看文件

@@ -239,9 +239,9 @@ var Mustache = (typeof module !== "undefined" && module.exports) || {};
break;
case "function":
var sectionText = callback(context, this), self = this;
function scopedRender(template) {
var scopedRender = function (template) {
return self.render(template, context);
}
};
return value.call(context.view, sectionText, scopedRender) || "";
break;
default:


Loading…
取消
儲存