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

Merge pull request #97 from davidbanham/master

Include speaker notes plugin after reveal.js 
parents 2c3a494e 79299d00
No related branches found
No related tags found
No related merge requests found
......@@ -322,6 +322,8 @@ function linkify( selector ) {
scripts.push( 'lib/js/data-markdown.js' );
}
scripts.push( 'js/reveal.js' );
// If we're runnning the notes server we need to include some additional JS
// TODO Is there a better way to determine if we're running the notes server?
if( window.location.host === 'localhost:1947' ) {
......@@ -329,12 +331,10 @@ function linkify( selector ) {
scripts.push( 'plugin/speakernotes/client.js' );
}
scripts.push( 'js/reveal.js' );
// Load the scripts and, when completed, initialize reveal.js
head.js.apply( null, scripts );
</script>
</body>
</html>
\ No newline at end of file
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment