mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-12-25 23:36:43 +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;
|
|
});
|
|
} |