demo/preact-dbmon/dbmon.js
function createNode(nodeName, isSvg) {
    var node = isSvg ? document.createElementNS('http://www.w3.org/2000/svg', nodeName) : document.createElement(nodeName);
    node.normalizedNodeName = nodeName;
    return node;
  }
function createNode(nodeName, isSvg) {
    var node = isSvg ? document.createElementNS('http://www.w3.org/2000/svg', nodeName) : document.createElement(nodeName);
    node.normalizedNodeName = nodeName;
    return node;
  }
function createNode ( nodeName , isSvg ) { var node = isSvg ? document . createElementNS ( 'http://www.w3.org/2000/svg' , nodeName ) : document . createElement ( nodeName ) ; node . normalizedNodeName = nodeName ; return node ; }
Create an element with the given nodeName.
@param {String} nodeName
@param {Boolean} [isSvg=false]	If `true`, creates an element within the SVG namespace.
@return {Element} node
Create an element with the given nodeName .