separate loading of classList.js as its not tied to execution of highlight.js
This commit is contained in:
parent
f57de200ec
commit
d9512172e2
|
@ -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();
|
||||
} );
|
||||
|
|
Loading…
Reference in New Issue