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