瀏覽代碼

globals helpers

pull/776/head
Mejia1994 5 年之前
父節點
當前提交
0d4262d0c6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js 查看文件

@@ -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…
取消
儲存