B2G/gecko/browser/components/tabview/groupitems.js
// Adds the given <GroupItem> to the list of groupItems we're tracking.
Adds the given  to the list of groupItems we're tracking.
Adds the given to the list of groupItems we ' re tracking .
function GroupItems_register(groupItem) {
    Utils.assert(groupItem, 'groupItem');
    Utils.assert(this.groupItems.indexOf(groupItem) == -1, 'only register once per groupItem');
    this.groupItems.push(groupItem);
    UI.updateTabButton();
  }
function GroupItems_register ( groupItem ) { Utils . assert ( groupItem , 'groupItem' ) ; Utils . assert ( this . groupItems . indexOf ( groupItem ) == - 1 , 'only register once per groupItem' ) ; this . groupItems . push ( groupItem ) ; UI . updateTabButton ( ) ; }
Adds the given <GroupItem> to the list of groupItems we're tracking.
Adds the given <GroupItem > to the list of groupItems we ' re tracking .