Activated speaker-notes feature for offline presentations.

This commit is contained in:
David Russell 2017-04-29 10:28:08 +07:00
parent 18ef3fd3a4
commit 912dd03796

View File

@ -31,8 +31,8 @@
{ src: "@deps.revealjs(offline, ssm.fetchRevealVersionOverride())/plugin/chart/Chart.min.js"},
{ src: "@deps.revealjs(offline, ssm.fetchRevealVersionOverride())/plugin/chart/csv2chart.js"},
}
@if(ssm.showNotes()) {
{ src: "@deps.revealjs(offline, ssm.fetchRevealVersionOverride())/plugin/notes/notes.js", async: true },
@if(offline) {
{ src: "@deps.revealjs(offline, ssm.fetchRevealVersionOverride())/plugin/notes/notes.js", async: true },
}
{ src: "@deps.revealjs(offline, ssm.fetchRevealVersionOverride())/plugin/highlight/highlight.js", async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
@if(ssm.mathEnabled()) {
@ -43,7 +43,7 @@
Reveal.configure({
keyboard: {
83: function() { // bind "s" key to "select" code block content
88: function() { // bind "x" key to "select" code block content
var currentSlide = Reveal.getCurrentSlide();
var preBlock = $(currentSlide).find("pre");