You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throwException $ error $ "Cannot delete element " <> quote element <> " that is not present in extraAttributeNames (check warning above for more information)"
-- | these 4 property names are taken from https://github.com/elm/virtual-dom/blob/5a5bcf48720bc7d53461b3cd42a9f19f119c5503/src/Elm/Kernel/VirtualDom.server.js#L196-L201
71
+
"className"->EFn.runEffectFn5 checkPropExistsAndIsEqualAndDelete extraAttributeNames propName val el "class"
72
+
"htmlFor"->EFn.runEffectFn5 checkPropExistsAndIsEqualAndDelete extraAttributeNames propName val el "for"
73
+
"httpEquiv"->EFn.runEffectFn5 checkPropExistsAndIsEqualAndDelete extraAttributeNames propName val el "http-equiv"
74
+
"acceptCharset"->EFn.runEffectFn5 checkPropExistsAndIsEqualAndDelete extraAttributeNames propName val el "accept-charset"
69
75
_ ->do
70
76
checkPropExistsAndIsEqual propName val el
71
-
let fullAttributeName' = toLower propName -- transforms `colSpan` to `colspan`
72
77
case typeOf (unsafeToForeign val), (unsafeCoerce ::PropValue->Boolean) val of
73
78
-- | If this is a boolean and is false - then it should not have been prerendered
0 commit comments