src/js/items/AbstractContentItem.js
function( id ) {
		if( !this.hasId( id ) ) {
			throw new Error( 'Id not found' );
		}

		if( typeof this.config.id === 'string' ) {
			delete this.config.id;
		} else if( this.config.id instanceof Array ) {
			var index = lm.utils.indexOf( id, this.config.id );
			this.config.id.splice( index, 1 );
		}
	}
function( id ) {
		if( !this.hasId( id ) ) {
			throw new Error( 'Id not found' );
		}

		if( typeof this.config.id === 'string' ) {
			delete this.config.id;
		} else if( this.config.id instanceof Array ) {
			var index = lm.utils.indexOf( id, this.config.id );
			this.config.id.splice( index, 1 );
		}
	}
function ( id ) { if ( ! this . hasId ( id ) ) { throw new Error ( 'Id not found' ) ; } if ( typeof this . config . id === 'string' ) { delete this . config . id ; } else if ( this . config . id instanceof Array ) { var index = lm . utils . indexOf ( id , this . config . id ) ; this . config . id . splice ( index , 1 ) ; } }
Removes an existing id. Throws an error
if the id is not present

@public
@param   {String} id

@returns {void}
Removes an existing id . Throws an error if the id is not present