Explorar el Código

separate loading of classList.js as its not tied to execution of highlight.js

Hakim El Hattab hace 12 años
padre
commit
d9512172e2
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      index.html

+ 2 - 1
index.html

@@ -314,7 +314,8 @@ linkify( 'a' );
 			} );
 			
 			// Load third party scripts
-			head.js( 'lib/js/highlight.js', 'lib/js/classList.js', function() {
+			head.js( 'lib/js/classList.js' );
+			head.js( 'lib/js/highlight.js', function() {
 				// Fire off syntax highlighting for potential code samples in the slides
 				hljs.initHighlightingOnLoad();
 			} );