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

This commit is contained in:
Hakim El Hattab 2012-07-09 21:03:08 -04:00
parent f57de200ec
commit d9512172e2

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