Fix error in skooma
This commit is contained in:
parent
64f28972c0
commit
3be6f513b3
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ const insertStyles = (rule, styles) => {
|
||||||
const parseAttribute = (attribute) => {
|
const parseAttribute = (attribute) => {
|
||||||
if (typeof attribute == "string" || typeof attribute == "number")
|
if (typeof attribute == "string" || typeof attribute == "number")
|
||||||
return attribute
|
return attribute
|
||||||
else if ("join" in attribute)
|
else if (attribute && "join" in attribute)
|
||||||
return attribute.join(" ")
|
return attribute.join(" ")
|
||||||
else
|
else
|
||||||
return JSON.stringify(attribute)
|
return JSON.stringify(attribute)
|
||||||
|
|
Loading…
Reference in a new issue