demo/preact-dbmon/dbmon.js
function isNamedNode(node, nodeName) {
    return node.normalizedNodeName === nodeName || node.nodeName.toLowerCase() === nodeName.toLowerCase();
  }
function isNamedNode(node, nodeName) {
    return node.normalizedNodeName === nodeName || node.nodeName.toLowerCase() === nodeName.toLowerCase();
  }
function isNamedNode ( node , nodeName ) { return node . normalizedNodeName === nodeName || node . nodeName . toLowerCase ( ) === nodeName . toLowerCase ( ) ; }
Check if an Element has a given nodeName, case-insensitively.

@param {Element} node	A DOM Element to inspect the name of.
@param {String} nodeName	Unnormalized name to compare against.
Check if an Element has a given nodeName case - insensitively .