Explorar el Código

fix indent: replace spaces with tabs

Maximilian Köhl hace 7 años
padre
commit
08e0f5e47b
Se han modificado 1 ficheros con 17 adiciones y 17 borrados
  1. 17 17
      js/reveal.js

+ 17 - 17
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 );
 
 	}