Various fixes
This commit is contained in:
@ -29,6 +29,12 @@ export class PegasusUtility {
|
||||
this.buildDiceLists();
|
||||
PegasusCommands.init();
|
||||
|
||||
Handlebars.registerHelper('count', function (list) {
|
||||
return list.length;
|
||||
});
|
||||
Handlebars.registerHelper('includes', function (array, val) {
|
||||
return array.includes(val);
|
||||
});
|
||||
Handlebars.registerHelper('upper', function (text) {
|
||||
return text.toUpperCase();
|
||||
});
|
||||
|
Reference in New Issue
Block a user