src/js/LayoutManager.js
function( container, node ) {
		if( node.type === 'stack' ) {
			node.contentItems.forEach( function( item ) {
				container.addChild( item );
				node.removeChild( item, true );
			} );
		}
		else {
			node.contentItems.forEach( lm.utils.fnBind( function( item ) {
				this._addChildContentItemsToContainer( container, item );
			}, this ) );
		}
	}
function( container, node ) {
		if( node.type === 'stack' ) {
			node.contentItems.forEach( function( item ) {
				container.addChild( item );
				node.removeChild( item, true );
			} );
		}
		else {
			node.contentItems.forEach( lm.utils.fnBind( function( item ) {
				this._addChildContentItemsToContainer( container, item );
			}, this ) );
		}
	}
function ( container , node ) { if ( node . type === 'stack' ) { node . contentItems . forEach ( function ( item ) { container . addChild ( item ) ; node . removeChild ( item , true ) ; } ) ; } else { node . contentItems . forEach ( lm . utils . fnBind ( function ( item ) { this . _addChildContentItemsToContainer ( container , item ) ; } , this ) ) ; } }
Adds all children of a node to another container recursively.
@param {object} container - Container to add child content items to.
@param {object} node - Node to search for content items.
@returns {void}
Adds all children of a node to another container recursively .