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
Typing "document.ELEMENT_NODE" into the webkit JavaScript console confirms that the node type properties are inherited from Node. But Node.js adds the properties to Node, not Node.prototype, so they are not inherited by Document (or any of the other subclasses).
Node.prototype should get a copy of the node type properties, as well as Node.
The text was updated successfully, but these errors were encountered:
cscott
added a commit
to cscott/domino
that referenced
this issue
Feb 16, 2013
Webkit defines document.ELEMENT_NODE, but domino previously defined
only Node.ELEMENT_NODE. This patch adds the node types to Node.prototype
so that they are inherited by instances of Node and its subclasses.
Typing "document.ELEMENT_NODE" into the webkit JavaScript console confirms that the node type properties are inherited from Node. But Node.js adds the properties to Node, not Node.prototype, so they are not inherited by Document (or any of the other subclasses).
Node.prototype should get a copy of the node type properties, as well as Node.
The text was updated successfully, but these errors were encountered: