Skip to content
Snippets Groups Projects
Verified Commit 943f9376 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

refactor: change fkt name internalTemplateLookUP

git s
parent b4068046
Branches
Tags
No related merge requests found
......@@ -514,7 +514,15 @@ function insertElement(change) {
}
}
function findTemplate(container, key, ref, path) {
/**
* @private
* @param container
* @param key
* @param ref
* @param path
* @returns {any}
*/
function internalTemplateLookUp(container, key, ref, path) {
let templateID = key;
let template;
......@@ -551,8 +559,8 @@ function findTemplate(container, key, ref, path) {
*/
function appendNewDocumentFragment(container, key, ref, path) {
let template = findTemplate(container, key, ref, path);
console.log(template);
let template = internalTemplateLookUp(container, key, ref, path);
let nodes = template.createDocumentFragment();
for (const [, node] of Object.entries(nodes.childNodes)) {
if (node instanceof HTMLElement) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment