Merge pull request #97 from davidbanham/master
Include speaker notes plugin after reveal.js
This commit is contained in:
commit
c858ad069f
1 changed files with 3 additions and 3 deletions
|
@ -322,6 +322,8 @@ function linkify( selector ) {
|
||||||
scripts.push( 'lib/js/data-markdown.js' );
|
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
|
// 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?
|
// TODO Is there a better way to determine if we're running the notes server?
|
||||||
if( window.location.host === 'localhost:1947' ) {
|
if( window.location.host === 'localhost:1947' ) {
|
||||||
|
@ -329,8 +331,6 @@ function linkify( selector ) {
|
||||||
scripts.push( 'plugin/speakernotes/client.js' );
|
scripts.push( 'plugin/speakernotes/client.js' );
|
||||||
}
|
}
|
||||||
|
|
||||||
scripts.push( 'js/reveal.js' );
|
|
||||||
|
|
||||||
// Load the scripts and, when completed, initialize reveal.js
|
// Load the scripts and, when completed, initialize reveal.js
|
||||||
head.js.apply( null, scripts );
|
head.js.apply( null, scripts );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue