DE
Size: a a a
DE
HS
DE
NR
DE
HS
DE
HS
DE
JB
᠌
HS
DE
F
function template(html, map) {
with(map) {
html = html.replace(/\{\{([^]*?)\}\}/g, (_, m) => eval(m) )
}
const div = document.createElement('div')
div.innerHTML = html
return div.querySelector('*')
}
S
function template(html, map) {
with(map) {
html = html.replace(/\{\{([^]*?)\}\}/g, (_, m) => eval(m) )
}
const div = document.createElement('div')
div.innerHTML = html
return div.querySelector('*')
}
JB
F
F
CM
᠌