ソースを参照

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:


読み込み中…
キャンセル
保存