mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-14 05:22:59 +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;
|
|
});
|
|
} |