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
the spec says that the return value must be the empty string when the attribute has no value.
However, clay returns undefined when there is no value for an attribute. This makes tools like Alloy UI to get confused and malfunction in some weird corner cases that @carloslancha has witnessed with me.
the spec says that the return value must be the
empty string
when the attribute has no value.However, clay returns
undefined
when there is no value for an attribute. This makes tools like Alloy UI to get confused and malfunction in some weird corner cases that @carloslancha has witnessed with me.More info at https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttribute#Notes.
The text was updated successfully, but these errors were encountered: