bundles/org.eclipse.orion.client.ui/web/gcli/gcli/ui/display.js
function insert(sibling, element, id) {
  var doc = sibling.ownerDocument;
  if (!element) {
    element = doc.getElementById('gcli-row-complete');
    if (!element) {
      element = util.createElement(doc, 'div');
      sibling.parentNode.insertBefore(element, sibling.nextSibling);
      element.gcliCreated = true;
    }
  }
  return element;
}
function insert(sibling, element, id) {
  var doc = sibling.ownerDocument;
  if (!element) {
    element = doc.getElementById('gcli-row-complete');
    if (!element) {
      element = util.createElement(doc, 'div');
      sibling.parentNode.insertBefore(element, sibling.nextSibling);
      element.gcliCreated = true;
    }
  }
  return element;
}
function insert ( sibling , element , id ) { var doc = sibling . ownerDocument ; if ( ! element ) { element = doc . getElementById ( 'gcli-row-complete' ) ; if ( ! element ) { element = util . createElement ( doc , 'div' ) ; sibling . parentNode . insertBefore ( element , sibling . nextSibling ) ; element . gcliCreated = true ; } } return element ; }
Utility to help find an element by id, creating it if it wasn't found
Utility to help find an element by id creating it if it wasn t found