B2G/gecko/browser/components/tabview/items.js
// Returns an array of all Items not grouped into groupItems.
Returns an array of all Items not grouped into groupItems.
Returns an array of all Items not grouped into groupItems .
function Items_getTopLevelItems() {
    var items = [];
    iQ('.tab, .groupItem').each(function(elem) {
      var $this = iQ(elem);
      var item = $this.data('item');
      if (item && !item.parent && !$this.hasClass('phantom'))
        items.push(item);
    });
    return items;
  }
function Items_getTopLevelItems ( ) { var items = [ ] ; iQ ( '.tab, .groupItem' ) . each ( function ( elem ) { var $this = iQ ( elem ) ; var item = $this . data ( 'item' ) ; if ( item && ! item . parent && ! $this . hasClass ( 'phantom' ) ) items . push ( item ) ; } ) ; return items ; }
Returns an array of all Items not grouped into groupItems.
Returns an array of all Items not grouped into groupItems .