Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Oct 21, 2021. It is now read-only.

Check for el.hasAttribute before invoking #22

Merged
merged 1 commit into from
May 11, 2018
Merged

Conversation

mislav
Copy link
Contributor

@mislav mislav commented May 8, 2018

This is called on nodes while traversing up the DOM, and there is no guarantee that a node is an Element node and that it will implement the hasAttribute function.

This is called on nodes while traversing up the DOM, and there is no
guarantee that a node is an Element node and that it will implement the
`hasAttribute` function.
@mislav mislav requested a review from muan May 9, 2018 10:40
@mislav mislav merged commit 1b0731d into master May 11, 2018
@mislav mislav deleted the check-hasattribute branch May 11, 2018 12:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants