diff options
author | Maximilian Köhl <mail@koehlma.de> | 2017-08-08 22:53:32 +0200 |
---|---|---|
committer | Maximilian Köhl <mail@koehlma.de> | 2017-08-08 22:53:32 +0200 |
commit | 08e0f5e47b73d01f5afa82e79b9046a2a694855d (patch) | |
tree | a89e631eb6172ad82b587f829bd1b9bd0b897a49 /js | |
parent | a2cf23b30cbd962d752df5b9a8fc46f074fab20d (diff) | |
download | perl-software-in-gnu-guix-08e0f5e47b73d01f5afa82e79b9046a2a694855d.tar perl-software-in-gnu-guix-08e0f5e47b73d01f5afa82e79b9046a2a694855d.tar.gz |
fix indent: replace spaces with tabs
Diffstat (limited to 'js')
-rw-r--r-- | js/reveal.js | 34 |
1 files changed, 17 insertions, 17 deletions
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 ); } |