examples/flux-todo-riot/bundle.js
function toggleVisibility(dom, show) {
  dom.style.display = show ? '' : 'none';
  dom['hidden'] = show ? false : true;
}
function toggleVisibility(dom, show) {
  dom.style.display = show ? '' : 'none';
  dom['hidden'] = show ? false : true;
}
function toggleVisibility ( dom , show ) { dom . style . display = show ? '' : 'none' ; dom [ 'hidden' ] = show ? false : true ; }
Toggle the visibility of any DOM node
@param   { Object }  dom - DOM node we want to hide
@param   { Boolean } show - do we want to show it?
Toggle the visibility of any DOM node