aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jurča <martin.jurca@firma.seznam.cz>2018-02-20 10:30:56 +0100
committerMartin Jurča <martin.jurca@firma.seznam.cz>2018-02-20 10:30:56 +0100
commit6a2c5b4de833c73f656945253e7b72e31870c88a (patch)
tree479ca343f50e67fd6c48cc80ff7f18530ca5d48a
parent8468d82433cd04952e1fdc0ce68363a2cf618b13 (diff)
downloadperl-software-in-gnu-guix-6a2c5b4de833c73f656945253e7b72e31870c88a.tar
perl-software-in-gnu-guix-6a2c5b4de833c73f656945253e7b72e31870c88a.tar.gz
documentation
-rw-r--r--js/reveal.js3
-rw-r--r--plugin/notes/notes.html3
-rw-r--r--plugin/notes/notes.js4
3 files changed, 10 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 091372e..9a1422f 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -3901,6 +3901,9 @@
}
+ /**
+ * Returns an array of objects where each object represents the attributes on its respective slide.
+ */
function getSlidesMetaInfo() {
var slides = getSlides();
diff --git a/plugin/notes/notes.html b/plugin/notes/notes.html
index eff1275..a6bd5e2 100644
--- a/plugin/notes/notes.html
+++ b/plugin/notes/notes.html
@@ -378,6 +378,9 @@
} );
+ /**
+ * Asynchronously calls the Reveal.js API of the main frame.
+ */
function callRevealApi( methodName, methodArguments, callback ) {
var callId = ++lastRevealApiCallId;
pendingCalls[callId] = callback;
diff --git a/plugin/notes/notes.js b/plugin/notes/notes.js
index dd7df8e..dce9b4e 100644
--- a/plugin/notes/notes.js
+++ b/plugin/notes/notes.js
@@ -51,6 +51,10 @@ var RevealNotes = (function() {
} );
}
+ /**
+ * Calls the specified Reveal.js method with the provided argument and then pushes the result to the notes
+ * frame.
+ */
function callRevealApi( methodName, methodArguments, callId ) {
var result = Reveal[methodName].call(Reveal, methodArguments);
notesPopup.postMessage( JSON.stringify( {