Explorar el Código

globals helpers

pull/776/head
Mejia1994 hace 5 años
padre
commit
0d4262d0c6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Ver fichero

@@ -703,7 +703,7 @@ Writer.prototype.invokeGlobalHelper = function invokeGlobalHelper (token, contex
return view = view[arg[0]];
}(argsHelper.split(/\.+/g).reverse());

return mustache.escape(mustache.helpers.get(helperName)(value)) || null;
return mustache.escape(mustache.helpers.get(helperName)(value));
};

Writer.prototype.getConfigTags = function getConfigTags (config) {


Cargando…
Cancelar
Guardar