From: Hakim El Hattab Date: Sat, 9 Mar 2013 00:24:58 +0000 (-0500) Subject: denote language in code samples X-Git-Tag: 2.3.0~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=29348178bc2c88b2ed6ce394a6ffafadcbb8220c;p=reveal.js.git denote language in code samples --- diff --git a/README.md b/README.md index 2e12282..19b8172 100644 --- a/README.md +++ b/README.md @@ -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 }, ] }); ```