Преглед на файлове

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…
Отказ
Запис