Explorar el Código

Fix null section data

Fixes #222
tags/0.5.2
Michael Jackson hace 14 años
padre
commit
e304555333
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Ver fichero

@@ -261,7 +261,7 @@ var Mustache;
return buffer;
}

return callback(context.push(value), this);
return value ? callback(context.push(value), this) : "";
case "function":
// TODO: The text should be passed to the callback plain, not rendered.
var sectionText = callback(context, this),


Cargando…
Cancelar
Guardar