website/files/v0.9.2/js/goldenlayout.js
function() {
		var config = $.extend( true, {}, this.config );
		config.content = [];
		var next = function( configNode, item ) {
			var key, i;
			
			for( key in item.config ) {
				if( key !== 'content' ) {
					configNode[ key ] = item.config[ key ];
				}
			}

			if( item.contentItems.length ) {
				configNode.content = [];
				
				for( i = 0; i < item.contentItems.length; i++ ) {
					configNode.content[ i ] = {};
					next( configNode.content[ i ], item.contentItems[ i ] );
				}
			}
		};

		next( config, this.root );

		return config;
	}
function() {
		var config = $.extend( true, {}, this.config );
		config.content = [];
		var next = function( configNode, item ) {
			var key, i;
			
			for( key in item.config ) {
				if( key !== 'content' ) {
					configNode[ key ] = item.config[ key ];
				}
			}

			if( item.contentItems.length ) {
				configNode.content = [];
				
				for( i = 0; i < item.contentItems.length; i++ ) {
					configNode.content[ i ] = {};
					next( configNode.content[ i ], item.contentItems[ i ] );
				}
			}
		};

		next( config, this.root );

		return config;
	}
function ( ) { var config = $ . extend ( true , { } , this . config ) ; config . content = [ ] ; var next = function ( configNode , item ) { var key , i ; for ( key in item . config ) { if ( key !== 'content' ) { configNode [ key ] = item . config [ key ] ; } } if ( item . contentItems . length ) { configNode . content = [ ] ; for ( i = 0 ; i < item . contentItems . length ; i ++ ) { configNode . content [ i ] = { } ; next ( configNode . content [ i ] , item . contentItems [ i ] ) ; } } } ; next ( config , this . root ) ; return config ; }
Creates a layout configuration out of the current state

@returns {Object} GoldenLayout configuration
Creates a layout configuration out of the current state