src/core/transitionViewManager.js
function _viewRef( ref, comparisonViews ) {
	 	var index = comparisonViews.indexOf( ref );
	 		return (index === -1 )? null : ['currentView', 'nextView'][ index ];
	}
function _viewRef( ref, comparisonViews ) {
	 	var index = comparisonViews.indexOf( ref );
	 		return (index === -1 )? null : ['currentView', 'nextView'][ index ];
	}
function _viewRef ( ref , comparisonViews ) { var index = comparisonViews . indexOf ( ref ) ; return ( index === - 1 ) ? null : [ 'currentView' , 'nextView' ] [ index ] ; }
convert view named references to either current view
or next view if the ID's match
Makes it easier to access and build generic use cases

@param  {string} ref current View ID
@param  {array} comparisonViews - currentView and nextView string IDS
@return {string} - new IDS if matched
convert view named references to either current view or next view if the ID s match Makes it easier to access and build generic use cases