lib/html-tags.js
function createHtmlTagObject (tagName, attributes, innerHTML) {
  return {
    tagName: tagName,
    voidTag: voidTags.indexOf(tagName) !== -1,
    attributes: attributes || {},
    innerHTML: innerHTML
  };
}
function createHtmlTagObject (tagName, attributes, innerHTML) {
  return {
    tagName: tagName,
    voidTag: voidTags.indexOf(tagName) !== -1,
    attributes: attributes || {},
    innerHTML: innerHTML
  };
}
function createHtmlTagObject ( tagName , attributes , innerHTML ) { return { tagName : tagName , voidTag : voidTags . indexOf ( tagName ) !== - 1 , attributes : attributes || { } , innerHTML : innerHTML } ; }
Static helper to create a tag object to be get injected into the dom

@param {string} tagName
the name of the tage e.g. 'div'

@param {{[attributeName: string]: string|boolean}} [attributes]
tag attributes e.g. `{ 'class': 'example', disabled: true }`

@param {string} [innerHTML]

@returns {HtmlTagObject}
Static helper to create a tag object to be get injected into the dom