aboutsummaryrefslogtreecommitdiff
path: root/plugin/notes/notes.js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2018-10-04 13:26:16 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2018-10-04 13:26:22 +0200
commitd5cf3fa13c899014008314d41292880fa8b699bd (patch)
treeab48c34dadd6d9aebf8fddd473267c4a4b03890a /plugin/notes/notes.js
parent8582c9aac8888bc71d2658377778279a5d5f0c34 (diff)
downloadfreenode-live-2017-presentation-d5cf3fa13c899014008314d41292880fa8b699bd.tar
freenode-live-2017-presentation-d5cf3fa13c899014008314d41292880fa8b699bd.tar.gz
formatting and tweaks for #2104
Diffstat (limited to 'plugin/notes/notes.js')
-rw-r--r--plugin/notes/notes.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugin/notes/notes.js b/plugin/notes/notes.js
index 552a6fe..fdefd75 100644
--- a/plugin/notes/notes.js
+++ b/plugin/notes/notes.js
@@ -56,17 +56,19 @@ var RevealNotes = (function() {
}
/**
- * Calls the specified Reveal.js method with the provided argument and then pushes the result to the notes
- * frame.
+ * 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);
+
+ var result = Reveal[methodName].call( Reveal, methodArguments );
notesPopup.postMessage( JSON.stringify( {
namespace: 'reveal-notes',
type: 'return',
result: result,
callId: callId
} ), '*' );
+
}
/**