aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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( {