website/files/v0.9.2/js/goldenlayout.js
function( name, event ) {
		if( event instanceof lm.utils.BubblingEvent &&
			event.isPropagationStopped === false &&
			this.isInitialised === true ) {
			
			/**
			 * In some cases (e.g. if an element is created from a DragSource) it
			 * doesn't have a parent and is not below root. If that's the case
			 * propagate the bubbling event from the top level of the substree directly
			 * to the layoutManager
			 */
			if( this.isRoot === false && this.parent ) {
				this.parent.emit.apply( this.parent, Array.prototype.slice.call( arguments, 0 ) );
			} else {
				this._scheduleEventPropagationToLayoutManager( name, event );
			}
		}
	}
function( name, event ) {
		if( event instanceof lm.utils.BubblingEvent &&
			event.isPropagationStopped === false &&
			this.isInitialised === true ) {
			
			/**
			 * In some cases (e.g. if an element is created from a DragSource) it
			 * doesn't have a parent and is not below root. If that's the case
			 * propagate the bubbling event from the top level of the substree directly
			 * to the layoutManager
			 */
			if( this.isRoot === false && this.parent ) {
				this.parent.emit.apply( this.parent, Array.prototype.slice.call( arguments, 0 ) );
			} else {
				this._scheduleEventPropagationToLayoutManager( name, event );
			}
		}
	}
function ( name , event ) { if ( event instanceof lm . utils . BubblingEvent && event . isPropagationStopped === false && this . isInitialised === true ) { /**
			 * In some cases (e.g. if an element is created from a DragSource) it
			 * doesn't have a parent and is not below root. If that's the case
			 * propagate the bubbling event from the top level of the substree directly
			 * to the layoutManager
			 */ if ( this . isRoot === false && this . parent ) { this . parent . emit . apply ( this . parent , Array . prototype . slice . call ( arguments , 0 ) ) ; } else { this . _scheduleEventPropagationToLayoutManager ( name , event ) ; } } }
Called for every event on the item tree. Decides whether the event is a bubbling
event and propagates it to its parent

@param	{String} name the name of the event
@param   {lm.utils.BubblingEvent} event

@returns {void}
Called for every event on the item tree . Decides whether the event is a bubbling event and propagates it to its parent