src/core/transitionViewManager.js
function _prepareViews( actionData, paramData )
	{
		let linkedTranssModules = actionData.linkedVTransModules, // look into slice speed over creating new array
		 	ViewsModuleLength 	= linkedTranssModules.length,
		 	promises 			= [],
		 	preparedViews 		= [],
		 	actionDataClone 	= null,
		 	viewCache 			= {},
		 	i 					= 0,
		 	viewsModuleObject;

	 		while( i < ViewsModuleLength ) {
 				viewsModuleObject 					  = linkedTranssModules[i];
	 			actionDataClone 					  = _cloneViewState( actionData, viewsModuleObject, paramData ); 
	 			preparedViews[ preparedViews.length ] = _fetchViews( viewsModuleObject.views, actionDataClone, promises, viewCache);
	 			
	 			++i;
	 		}

	 		viewCache = null;
		 	return { promises : promises, preparedViews : preparedViews };
	}
function _prepareViews( actionData, paramData )
	{
		let linkedTranssModules = actionData.linkedVTransModules, // look into slice speed over creating new array
		 	ViewsModuleLength 	= linkedTranssModules.length,
		 	promises 			= [],
		 	preparedViews 		= [],
		 	actionDataClone 	= null,
		 	viewCache 			= {},
		 	i 					= 0,
		 	viewsModuleObject;

	 		while( i < ViewsModuleLength ) {
 				viewsModuleObject 					  = linkedTranssModules[i];
	 			actionDataClone 					  = _cloneViewState( actionData, viewsModuleObject, paramData ); 
	 			preparedViews[ preparedViews.length ] = _fetchViews( viewsModuleObject.views, actionDataClone, promises, viewCache);
	 			
	 			++i;
	 		}

	 		viewCache = null;
		 	return { promises : promises, preparedViews : preparedViews };
	}
function _prepareViews ( actionData , paramData ) { let linkedTranssModules = actionData . linkedVTransModules , // look into slice speed over creating new array ViewsModuleLength = linkedTranssModules . length , promises = [ ] , preparedViews = [ ] , actionDataClone = null , viewCache = { } , i = 0 , viewsModuleObject ; while ( i < ViewsModuleLength ) { viewsModuleObject = linkedTranssModules [ i ] ; actionDataClone = _cloneViewState ( actionData , viewsModuleObject , paramData ) ; preparedViews [ preparedViews . length ] = _fetchViews ( viewsModuleObject . views , actionDataClone , promises , viewCache ) ; ++ i ; } viewCache = null ; return { promises : promises , preparedViews : preparedViews } ; }
loop through all transition modules and prepare the
views requested by the config

@param  {object} actionData containing all transition types and views required
@param  {object} paramData sent with the action
@return {object} promises array and pepared views array
loop through all transition modules and prepare the views requested by the config