Update ox-reveal.el

use the new name of the controller script used in multiplex
This commit is contained in:
Caleb Woodbine 2023-10-23 11:06:05 +13:00 committed by GitHub
parent f55c851bf6
commit b30a525bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -210,7 +210,7 @@ embedded into Reveal.initialize()."
:type 'string)
(defcustom org-reveal-multiplex-secret ""
"The secret to use for master slide."
"The secret to use for controller slide."
:group 'org-export-reveal
:type 'string)
@ -731,12 +731,12 @@ dependencies: [
;; multiplex setup for reveal.js 3.x
multiplex (format " { src: '%s', async: true },\n%s"
(plist-get info :reveal-multiplex-socketio-url)
; following ensures that either client.js or master.js is included depending on defva client-multiplex value state
; following ensures that either client.js or controller.js is included depending on defva client-multiplex value state
(if (not client-multiplex)
(progn
(if (plist-get info :reveal-multiplex-secret)
(setq client-multiplex t))
(format " { src: '%splugin/multiplex/master.js', async: true }" root-path))
(format " { src: '%splugin/multiplex/controller.js', async: true }" root-path))
(format " { src: '%splugin/multiplex/client.js', async: true }" root-path)))))
(builtin-codes
(mapcar (lambda (p)
@ -844,7 +844,7 @@ custom variable `org-reveal-root'."
(if client-multiplex "client.js"
(progn
(setq client-multiplex t)
"master.js")))))
"controller.js")))))
)))
(extra-initial-js-statement (plist-get info :reveal-extra-initial-js))
(legacy-dependency-statement