Add a stringifier for debug data in the templates
This commit is contained in:
parent
f68ea6cd96
commit
200b0a2654
1 changed files with 2 additions and 1 deletions
|
|
@ -10,7 +10,8 @@ export async function registerHandlebarsHelpers() {
|
|||
Handlebars.registerHelper({
|
||||
"dotdungeon-array": createArray,
|
||||
"dotdungeon-toFriendlyDuration": toFriendlyDuration,
|
||||
"dotdungeon-objectValue": objectValue
|
||||
"dotdungeon-objectValue": objectValue,
|
||||
"dotdungeon-stringify": JSON.stringify,
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue