Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCheck for `el.hasAttribute` before invoking #22
Conversation
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
hasAttributefunction.