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

master
Hakim El Hattab 2012-07-09 21:03:08 -04:00
parent f57de200ec
commit d9512172e2
1 changed files with 2 additions and 1 deletions

View File

@ -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();
} );