Added collapsible skill group & volatile storage.

This commit is contained in:
Vlyan
2022-03-12 15:19:30 +01:00
parent ccc81d439f
commit 3b3cb67787
14 changed files with 75 additions and 25 deletions

View File

@@ -58,6 +58,12 @@ export const RegisterHandlebars = function () {
return a === b ? new Handlebars.SafeString('checked="checked"') : "";
});
// Concatenation
Handlebars.registerHelper("concat", function (...objects) {
objects.pop(); // remove this function call
return objects.join("");
});
// Add a setter
Handlebars.registerHelper("setVar", function (varName, varValue, options) {
options.data.root[varName] = varValue;