Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// let cmd = attr.slice(lastIdx + 1);
// cmd = cmd ? kebabCase(cmd) : 'bind';
// el.setAttribute(`${kebabCase(attr.slice(0, lastIdx))}.${cmd}`, value);
// }
}
}
}
}
const appender = (el as HTMLTemplateElement).content != null ? (el as HTMLTemplateElement).content : el;
for (const child of children) {
if (child == null) {
continue;
}
if (Array.isArray(child)) {
for (const child_child of child) {
appender.appendChild(DOM.isNodeInstance(child_child) ? child_child : DOM.createTextNode(`${child_child}`));
}
} else {
appender.appendChild(DOM.isNodeInstance(child) ? child : DOM.createTextNode(`${child}`));
}
}
return el;
};
// }
}
}
}
}
const appender = (el as HTMLTemplateElement).content != null ? (el as HTMLTemplateElement).content : el;
for (const child of children) {
if (child == null) {
continue;
}
if (Array.isArray(child)) {
for (const child_child of child) {
appender.appendChild(DOM.isNodeInstance(child_child) ? child_child : DOM.createTextNode(`${child_child}`));
}
} else {
appender.appendChild(DOM.isNodeInstance(child) ? child : DOM.createTextNode(`${child}`));
}
}
return el;
};
// let cmd = attr.slice(lastIdx + 1);
// cmd = cmd ? kebabCase(cmd) : 'bind';
// el.setAttribute(`${kebabCase(attr.slice(0, lastIdx))}.${cmd}`, value);
// }
}
}
}
}
const appender = el.content != null ? el.content : el;
for (const child of children) {
if (child == null) {
continue;
}
if (Array.isArray(child)) {
for (const child_child of child) {
appender.appendChild(DOM.isNodeInstance(child_child) ? child_child : DOM.createTextNode(`${child_child}`));
}
}
else {
appender.appendChild(DOM.isNodeInstance(child) ? child : DOM.createTextNode(`${child}`));
}
}
return el;
};
//# sourceMappingURL=h.js.map
}
}
}
}
const appender = el.content != null ? el.content : el;
for (const child of children) {
if (child == null) {
continue;
}
if (Array.isArray(child)) {
for (const child_child of child) {
appender.appendChild(DOM.isNodeInstance(child_child) ? child_child : DOM.createTextNode(`${child_child}`));
}
}
else {
appender.appendChild(DOM.isNodeInstance(child) ? child : DOM.createTextNode(`${child}`));
}
}
return el;
};
//# sourceMappingURL=h.js.map