diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2013-03-08 19:24:58 -0500 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2013-03-08 19:24:58 -0500 |
commit | 29348178bc2c88b2ed6ce394a6ffafadcbb8220c (patch) | |
tree | df90493d3517bf108c9c51961c38ade15e5c6a84 /README.md | |
parent | 46f98ff483a43b3494f3a017e2c5e34e23b2442e (diff) | |
download | fosdem-2018-presentation-29348178bc2c88b2ed6ce394a6ffafadcbb8220c.tar fosdem-2018-presentation-29348178bc2c88b2ed6ce394a6ffafadcbb8220c.tar.gz |
denote language in code samples
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -404,7 +404,7 @@ The multiplex plugin allows your audience to view the slides on their own phone, Configuration is via the multiplex object in ```Reveal.initialize```. To generate unique secret and token values, visit [revealjs.jit.su/token](revealjs.jit.su/token). Below is an example configuration with the multiplex plugin enabled: -``` +```javascript Reveal.initialize({ ... @@ -416,9 +416,9 @@ Reveal.initialize({ }, dependencies: [ - { src: 'socket.io/socket.io.js', async: true, condition: function() { return !!document.body.classList; } }, - { src: 'plugin/multiplex/client.js', async: true, condition: function() { return !!document.body.classList; } }, - { src: 'plugin/multiplex/master.js', async: true, condition: function() { return !!document.body.classList; } }, + { src: 'socket.io/socket.io.js', async: true }, + { src: 'plugin/multiplex/client.js', async: true }, + { src: 'plugin/multiplex/master.js', async: true }, ] }); ``` |