Ver código fonte

Use var declaration for helper functions

tags/0.5.2
Michael Jackson 14 anos atrás
pai
commit
72971b320c
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      mustache.js

+ 2
- 2
mustache.js Ver arquivo

@@ -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:


Carregando…
Cancelar
Salvar