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