Sfoglia il codice sorgente

globals helpers

pull/776/head
Mejia1994 5 anni fa
parent
commit
0d4262d0c6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Vedi File

@@ -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) {


Loading…
Annulla
Salva