website/files/v0.9.2/js/goldenlayout.js
function( contentItem ) {
		for( var i = 0; i < this.tabs.length; i++ ) {
			if( this.tabs[ i ].contentItem === contentItem ) {
				this.tabs[ i ]._$destroy();
				this.tabs.splice( i, 1 );
				return;
			}
		}
	
		throw new Error( 'contentItem is not controlled by this header' );
	}
function( contentItem ) {
		for( var i = 0; i < this.tabs.length; i++ ) {
			if( this.tabs[ i ].contentItem === contentItem ) {
				this.tabs[ i ]._$destroy();
				this.tabs.splice( i, 1 );
				return;
			}
		}
	
		throw new Error( 'contentItem is not controlled by this header' );
	}
function ( contentItem ) { for ( var i = 0 ; i < this . tabs . length ; i ++ ) { if ( this . tabs [ i ] . contentItem === contentItem ) { this . tabs [ i ] . _$destroy ( ) ; this . tabs . splice ( i , 1 ) ; return ; } } throw new Error ( 'contentItem is not controlled by this header' ) ; }
Finds a tab based on the contentItem its associated with and removes it.

@param   {lm.item.AbstractContentItem} contentItem

@returns {void}
Finds a tab based on the contentItem its associated with and removes it .