Fix undefined variable in skooma.js
This commit is contained in:
parent
ada29b303d
commit
5a1abac6e8
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ const parseArgs = (element, args) => {
|
||||||
else if ("length" in arg)
|
else if ("length" in arg)
|
||||||
parseArgs(element, arg)
|
parseArgs(element, arg)
|
||||||
else
|
else
|
||||||
for (key in arg)
|
for (let key in arg)
|
||||||
element.setAttribute(key.replace(/([a-z])([A-Z])/g, "$1-$2"), parseAttribute(arg[key]))
|
element.setAttribute(key.replace(/([a-z])([A-Z])/g, "$1-$2"), parseAttribute(arg[key]))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue