Kaynağa Gözat

globals helpers

pull/776/head
Mejia1994 5 yıl önce
ebeveyn
işleme
0d4262d0c6
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet