hassio-nextcloud-backup/.github/custom-handlebars.js
2021-03-23 16:49:08 +01:00

5 lines
176 B
JavaScript

module.exports = function (Handlebars) {
Handlebars.registerHelper("setVar", function(varName, varValue, options) {
options.data.root[varName] = varValue;
});
}