website/files/v0.9.2/js/goldenlayout.js
function( name, constructor ) {
		if( typeof constructor !== 'function' ) {
			throw new Error( 'Please register a constructor function' );
		}

		if( this._components[ name ] !== undefined ) {
			throw new Error( 'Component ' + name + ' is already registered' );
		}

		this._components[ name ] = constructor;
	}
function( name, constructor ) {
		if( typeof constructor !== 'function' ) {
			throw new Error( 'Please register a constructor function' );
		}

		if( this._components[ name ] !== undefined ) {
			throw new Error( 'Component ' + name + ' is already registered' );
		}

		this._components[ name ] = constructor;
	}
function ( name , constructor ) { if ( typeof constructor !== 'function' ) { throw new Error ( 'Please register a constructor function' ) ; } if ( this . _components [ name ] !== undefined ) { throw new Error ( 'Component ' + name + ' is already registered' ) ; } this . _components [ name ] = constructor ; }
Register a component with the layout manager. If a configuration node
of type component is reached it will look up componentName and create the
associated component

{
type: "component",
componentName: "EquityNewsFeed",
componentState: { "feedTopic": "us-bluechips" }
}

@param   {String} name
@param   {Function} constructor

@returns {void}
Register a component with the layout manager . If a configuration node of type component is reached it will look up componentName and create the associated component