js/reveal.js
/**
	 * Determine what available routes there are for navigation.
	 *
	 * @return {Object} containing four booleans: left/right/up/down
	 */
Determine what available routes there are for navigation.
@return {Object} containing four booleans: left/right/up/down
Determine what available routes there are for navigation . @return { Object } containing four booleans : left / right / up / down
function availableRoutes() {
		var horizontalSlides = document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ),
			verticalSlides = document.querySelectorAll( VERTICAL_SLIDES_SELECTOR );
		return {
			left: indexh > 0,
			right: indexh < horizontalSlides.length - 1,
			up: indexv > 0,
			down: indexv < verticalSlides.length - 1
		};
	}
function availableRoutes ( ) { var horizontalSlides = document . querySelectorAll ( HORIZONTAL_SLIDES_SELECTOR ) , verticalSlides = document . querySelectorAll ( VERTICAL_SLIDES_SELECTOR ) ; return { left : indexh > 0 , right : indexh < horizontalSlides . length - 1 , up : indexv > 0 , down : indexv < verticalSlides . length - 1 } ; }
Determine what available routes there are for navigation.
Determine what available routes there are for navigation .