B2G/gecko/browser/components/tabview/groupitems.js
// Removes the given <GroupItem> from the list of groupItems we're tracking.
Removes the given  from the list of groupItems we're tracking.
Removes the given from the list of groupItems we ' re tracking .
function GroupItems_unregister(groupItem) {
    var index = this.groupItems.indexOf(groupItem);
    if (index != -1)
      this.groupItems.splice(index, 1);
    if (groupItem == this._activeGroupItem)
      this._activeGroupItem = null;
    this._arrangesPending = this._arrangesPending.filter(function (pending) {
      return groupItem != pending.groupItem;
    });
    this._lastActiveList.remove(groupItem);
    UI.updateTabButton();
  }
function GroupItems_unregister ( groupItem ) { var index = this . groupItems . indexOf ( groupItem ) ; if ( index != - 1 ) this . groupItems . splice ( index , 1 ) ; if ( groupItem == this . _activeGroupItem ) this . _activeGroupItem = null ; this . _arrangesPending = this . _arrangesPending . filter ( function ( pending ) { return groupItem != pending . groupItem ; } ) ; this . _lastActiveList . remove ( groupItem ) ; UI . updateTabButton ( ) ; }
Removes the given <GroupItem> from the list of groupItems we're tracking.
Removes the given <GroupItem > from the list of groupItems we ' re tracking .