Skip to content
Snippets Groups Projects
Commit d9512172 authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

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

parent f57de200
Branches
Tags
No related merge requests found
...@@ -314,7 +314,8 @@ linkify( 'a' ); ...@@ -314,7 +314,8 @@ linkify( 'a' );
} ); } );
// Load third party scripts // 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 // Fire off syntax highlighting for potential code samples in the slides
hljs.initHighlightingOnLoad(); hljs.initHighlightingOnLoad();
} ); } );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment