spec/uglify/riot.js
function isInStub(dom) {
  while (dom) {
    if (dom.inStub) return true
    dom = dom.parentNode
  }
  return false
}
function isInStub(dom) {
  while (dom) {
    if (dom.inStub) return true
    dom = dom.parentNode
  }
  return false
}
function isInStub ( dom ) { while ( dom ) { if ( dom . inStub ) return true dom = dom . parentNode } return false }
Check whether a DOM node is in stub mode, useful for the riot 'if' directive
@param   { Object }  dom - DOM node we want to parse
@returns { Boolean } -
Check whether a DOM node is in stub mode useful for the riot if directive