spec/uglify/riot.js
function _mkdom(templ, html) {

    var match = templ && templ.match(/^\s*<([-\w]+)/),
      tagName = match && match[1].toLowerCase(),
      rootTag = rootEls[tagName] || GENERIC,
      el = mkEl(rootTag)

    el.stub = true

    // replace all the yield tags with the tag inner html
    if (html) templ = replaceYield(templ, html)

    /* istanbul ignore next */
    if (checkIE && tagName && (match = tagName.match(SPECIAL_TAGS_REGEX)))
      ie9elem(el, templ, tagName, !!match[1])
    else
      el.innerHTML = templ

    return el
  }
function _mkdom(templ, html) {

    var match = templ && templ.match(/^\s*<([-\w]+)/),
      tagName = match && match[1].toLowerCase(),
      rootTag = rootEls[tagName] || GENERIC,
      el = mkEl(rootTag)

    el.stub = true

    // replace all the yield tags with the tag inner html
    if (html) templ = replaceYield(templ, html)

    /* istanbul ignore next */
    if (checkIE && tagName && (match = tagName.match(SPECIAL_TAGS_REGEX)))
      ie9elem(el, templ, tagName, !!match[1])
    else
      el.innerHTML = templ

    return el
  }
function _mkdom ( templ , html ) { var match = templ && templ . match ( / ^\s*<([-\w]+) / ) , tagName = match && match [ 1 ] . toLowerCase ( ) , rootTag = rootEls [ tagName ] || GENERIC , el = mkEl ( rootTag ) el . stub = true // replace all the yield tags with the tag inner html if ( html ) templ = replaceYield ( templ , html ) /* istanbul ignore next */ if ( checkIE && tagName && ( match = tagName . match ( SPECIAL_TAGS_REGEX ) ) ) ie9elem ( el , templ , tagName , ! ! match [ 1 ] ) else el . innerHTML = templ return el }
creates any dom element in a div, table, or colgroup container
creates any dom element in a div table or colgroup container