src/basis/dom/wrapper.js
function(oldNode){
      var nodes = this.nodes;
      if (arrayRemove(nodes, oldNode))
      {
        this.first = nodes[0] || null;
        this.last = nodes[nodes.length - 1] || null;
        oldNode.groupNode = null;

        this.emit_childNodesModified({ deleted: [oldNode] });
      }

      if (!this.first && this.autoDestroyIfEmpty)
        this.destroy();
    }
function(oldNode){
      var nodes = this.nodes;
      if (arrayRemove(nodes, oldNode))
      {
        this.first = nodes[0] || null;
        this.last = nodes[nodes.length - 1] || null;
        oldNode.groupNode = null;

        this.emit_childNodesModified({ deleted: [oldNode] });
      }

      if (!this.first && this.autoDestroyIfEmpty)
        this.destroy();
    }
function ( oldNode ) { var nodes = this . nodes ; if ( arrayRemove ( nodes , oldNode ) ) { this . first = nodes [ 0 ] || null ; this . last = nodes [ nodes . length - 1 ] || null ; oldNode . groupNode = null ; this . emit_childNodesModified ( { deleted : [ oldNode ] } ) ; } if ( ! this . first && this . autoDestroyIfEmpty ) this . destroy ( ) ; }
Works like removeChild, but don't update oldNode references.
@param {basis.dom.wrapper.AbstractNode} oldNode
Works like removeChild but don t update oldNode references .