hassio-nextcloud-backup/.github/custom-handlebars.js

5 lines
176 B
JavaScript
Raw Permalink Normal View History

2021-03-23 16:48:47 +01:00
module.exports = function (Handlebars) {
Handlebars.registerHelper("setVar", function(varName, varValue, options) {
options.data.root[varName] = varValue;
});
}