소스 검색

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

Hakim El Hattab 12 년 전
부모
커밋
d9512172e2
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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();
 			} );