src/http/get-index/ssr.js
/**
 * Remove an element from the dom
 *
 * @param elem The element to be removed
 */
Remove an element from the dom
@param elem The element to be removed
Remove an element from the dom @param elem The element to be removed
function removeElement(elem) {
  if (elem.prev)
  elem.prev.next = elem.next;
  if (elem.next)
  elem.next.prev = elem.prev;
  if (elem.parent) {
    var childs = elem.parent.children;
    childs.splice(childs.lastIndexOf(elem), 1);
  }
}
function removeElement ( elem ) { if ( elem . prev ) elem . prev . next = elem . next ; if ( elem . next ) elem . next . prev = elem . prev ; if ( elem . parent ) { var childs = elem . parent . children ; childs . splice ( childs . lastIndexOf ( elem ) , 1 ) ; } }
Remove an element from the dom
 @param elem The element to be removed
Remove an element from the dom @param elem The element to be removed