website/reveal/js/reveal.js
/**
	 * Sorts and formats all of fragments in the
	 * presentation.
	 */
Sorts and formats all of fragments in the
presentation.
Sorts and formats all of fragments in the presentation .
function sortAllFragments() {
		var horizontalSlides = toArray( document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ) );
		horizontalSlides.forEach( function( horizontalSlide ) {
			var verticalSlides = toArray( horizontalSlide.querySelectorAll( 'section' ) );
			verticalSlides.forEach( function( verticalSlide, y ) {
				sortFragments( verticalSlide.querySelectorAll( '.fragment' ) );
			} );
			if( verticalSlides.length === 0 ) sortFragments( horizontalSlide.querySelectorAll( '.fragment' ) );
		} );
	}
function sortAllFragments ( ) { var horizontalSlides = toArray ( document . querySelectorAll ( HORIZONTAL_SLIDES_SELECTOR ) ) ; horizontalSlides . forEach ( function ( horizontalSlide ) { var verticalSlides = toArray ( horizontalSlide . querySelectorAll ( 'section' ) ) ; verticalSlides . forEach ( function ( verticalSlide , y ) { sortFragments ( verticalSlide . querySelectorAll ( '.fragment' ) ) ; } ) ; if ( verticalSlides . length === 0 ) sortFragments ( horizontalSlide . querySelectorAll ( '.fragment' ) ) ; } ) ; }
Sorts and formats all of fragments in the
 presentation.
Sorts and formats all of fragments in the presentation .