From 08e0f5e47b73d01f5afa82e79b9046a2a694855d Mon Sep 17 00:00:00 2001 From: Maximilian Köhl Date: Tue, 8 Aug 2017 22:53:32 +0200 Subject: fix indent: replace spaces with tabs --- js/reveal.js | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'js') diff --git a/js/reveal.js b/js/reveal.js index 4508add..0f5cacd 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -734,19 +734,19 @@ var numberOfFragments = toArray( page.querySelectorAll( '.fragment' ) ).length; for ( var currentFragment = 0; currentFragment < numberOfFragments; currentFragment++ ) { - var clonedPage = page.cloneNode( true ); - page.parentNode.insertBefore( clonedPage, page.nextSibling ); - - toArray( sortFragments( clonedPage.querySelectorAll( '.fragment' ))).forEach( function ( fragment, fragmentIndex ) { - if ( fragmentIndex <= currentFragment ) { - fragment.classList.add( 'visible' ); - } else { - fragment.classList.remove( 'visible' ); - } - } ); - - page = clonedPage; - } + var clonedPage = page.cloneNode( true ); + page.parentNode.insertBefore( clonedPage, page.nextSibling ); + + toArray( sortFragments( clonedPage.querySelectorAll( '.fragment' ))).forEach( function ( fragment, fragmentIndex ) { + if ( fragmentIndex <= currentFragment ) { + fragment.classList.add( 'visible' ); + } else { + fragment.classList.remove( 'visible' ); + } + } ); + + page = clonedPage; + } } // Show all fragments @@ -1522,12 +1522,12 @@ } - /** + /** * Check if this instance is being used to print a PDF with fragments. - */ - function isPrintingPDFFragments() { + */ + function isPrintingPDFFragments() { - return ( /print-pdf-fragments/gi ).test( window.location.search ); + return ( /print-pdf-fragments/gi ).test( window.location.search ); } -- cgit v1.2.3