|
@@ -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 ) {
|
|
function callRevealApi( methodName, methodArguments, callId ) {
|
|
var result = Reveal[methodName].call(Reveal, methodArguments);
|
|
var result = Reveal[methodName].call(Reveal, methodArguments);
|
|
notesPopup.postMessage( JSON.stringify( {
|
|
notesPopup.postMessage( JSON.stringify( {
|