Support des propriétés d'items

Amélioration de l'interface
Améliorations cosmétiques
This commit is contained in:
ZigmundKreud
2021-12-24 04:51:14 +01:00
parent d5a5990faa
commit 7531937e52
59 changed files with 1919 additions and 210 deletions

View File

@ -56,6 +56,10 @@ export const registerHandlebarsHelpers = function () {
return val1 || val2;
});
Handlebars.registerHelper('or3', function (val1, val2, val3) {
return val1 || val2 || val3;
});
Handlebars.registerHelper('not', function (cond) {
return !cond;
});
@ -100,4 +104,10 @@ export const registerHandlebarsHelpers = function () {
return array.includes(val);
});
Handlebars.registerHelper('eval', function (expr) {
return eval(expr);
});
}