0.0.159 routes

This commit is contained in:
SBD
2025-02-17 16:13:53 +03:00
parent b4b79e185e
commit 8119955f52
6 changed files with 31 additions and 5 deletions

View File

@@ -0,0 +1,11 @@
function templateStrToNode(template) {
let template_cont = document.createElement("template");
template_cont.innerHTML = template;
return template_cont.content.children;
}
function appendNodes($cont, nodes) {
while (nodes.length > 0){
$cont.append(nodes[0]);
}
}