src/core/transitionViewManager.js
function _getCached( cached, data )
	{
		if( !data ){ return cached; }

		let i = -1, len = cached.length;
        while (++i < len) {
            cached[i].data = data;
        }
        return cached;
	}
function _getCached( cached, data )
	{
		if( !data ){ return cached; }

		let i = -1, len = cached.length;
        while (++i < len) {
            cached[i].data = data;
        }
        return cached;
	}
function _getCached ( cached , data ) { if ( ! data ) { return cached ; } let i = - 1 , len = cached . length ; while ( ++ i < len ) { cached [ i ] . data = data ; } return cached ; }
return cached views based on action type
@param  {array} cached - previously prepared views
@param  {object} data - action data passed through with action
@return {array} - cached views
return cached views based on action type