mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-25 18:43:00 +01:00
5 lines
176 B
JavaScript
5 lines
176 B
JavaScript
module.exports = function (Handlebars) {
|
|
Handlebars.registerHelper("setVar", function(varName, varValue, options) {
|
|
options.data.root[varName] = varValue;
|
|
});
|
|
} |