B2G/gecko/browser/components/tabview/tabitems.js
// Adds the given <TabItem> to the master list.
Adds the given  to the master list.
Adds the given to the master list .
function TabItems_register(item) {
    Utils.assert(item && item.isAnItem, 'item must be a TabItem');
    Utils.assert(this.items.indexOf(item) == -1, 'only register once per item');
    this.items.push(item);
  }
function TabItems_register ( item ) { Utils . assert ( item && item . isAnItem , 'item must be a TabItem' ) ; Utils . assert ( this . items . indexOf ( item ) == - 1 , 'only register once per item' ) ; this . items . push ( item ) ; }
Adds the given <TabItem> to the master list.
Adds the given <TabItem > to the master list .