Przeglądaj źródła

globals helpers

pull/776/head
Mejia1994 5 lat temu
rodzic
commit
0d4262d0c6
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz