aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2019-03-12 10:38:50 +0100
committerGitHub <noreply@github.com>2019-03-12 10:38:50 +0100
commit7b66abd49cd03232bf7fd41ae53d87ec86f75b0a (patch)
tree2c26eab78a94e277f2ee686afcf0ee0121deecbc
parentda53b3a637ff0e680469ad18ac20ef50cfb4334a (diff)
parent00e30a11e2ea0e2b20a4733955c1567a84f2b139 (diff)
downloadperl-software-in-gnu-guix-7b66abd49cd03232bf7fd41ae53d87ec86f75b0a.tar
perl-software-in-gnu-guix-7b66abd49cd03232bf7fd41ae53d87ec86f75b0a.tar.gz
Merge pull request #2346 from dougalsutherland/patch-3
notes plugin: callRevealApi wants apply, not call
-rw-r--r--plugin/notes/notes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/notes/notes.js b/plugin/notes/notes.js
index 4dc88ca..874e66d 100644
--- a/plugin/notes/notes.js
+++ b/plugin/notes/notes.js
@@ -68,7 +68,7 @@ var RevealNotes = (function() {
*/
function callRevealApi( methodName, methodArguments, callId ) {
- var result = Reveal[methodName].call( Reveal, methodArguments );
+ var result = Reveal[methodName].apply( Reveal, methodArguments );
notesPopup.postMessage( JSON.stringify( {
namespace: 'reveal-notes',
type: 'return',