- From: Austin Cheney <notifications@github.com>
- Date: Mon, 21 Jun 2021 15:37:59 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 21 June 2021 22:39:45 UTC
@liamquin I completely agree. I am falling in on conventions already in place by the standard and node types are returned as numbers 1-12. This example code does accept a string of the node type name if you would rather execute something like `document.getNodesByType("COMMENT_NODE")` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/992#issuecomment-865389532
Received on Monday, 21 June 2021 22:39:45 UTC