Fix undeclared variable

This commit is contained in:
Talia 2021-05-20 13:15:05 +02:00
parent fb6b86bf7f
commit 63a85b7570
No known key found for this signature in database
GPG key ID: AD727AD22802D0D6

View file

@ -1,6 +1,6 @@
export const template = (strings, ...args) => { export const template = (strings, ...args) => {
let buf = [] let buf = []
for (i=0;i<strings.length;i++) { for (let i=0;i<strings.length;i++) {
buf.push(strings[i], args[i]) buf.push(strings[i], args[i])
} }
let template = document.createElement("template") let template = document.createElement("template")