B2G/gecko/browser/devtools/shared/SplitView.jsm
/**
    * Remove an item from the split view.
    *
    * @param DOMElement aSummary
    *        Summary element of the item to remove.
    */
Remove an item from the split view.
@param DOMElement aSummary
Summary element of the item to remove.
Remove an item from the split view . @param DOMElement aSummary Summary element of the item to remove .
function ASV_removeItem(aSummary)
  {
    if (aSummary == this._activeSummary) {
      this.activeSummary = null;
    }
    let binding = aSummary.getUserData(BINDING_USERDATA);
    aSummary.parentNode.removeChild(aSummary);
    binding._details.parentNode.removeChild(binding._details);
    if (binding.onDestroy) {
      binding.onDestroy(aSummary, binding._details, binding.data);
    }
  }
function ASV_removeItem ( aSummary ) { if ( aSummary == this . _activeSummary ) { this . activeSummary = null ; } let binding = aSummary . getUserData ( BINDING_USERDATA ) ; aSummary . parentNode . removeChild ( aSummary ) ; binding . _details . parentNode . removeChild ( binding . _details ) ; if ( binding . onDestroy ) { binding . onDestroy ( aSummary , binding . _details , binding . data ) ; } }
Remove an item from the split view.
Remove an item from the split view .