From 29348178bc2c88b2ed6ce394a6ffafadcbb8220c Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Fri, 8 Mar 2013 19:24:58 -0500 Subject: [PATCH] denote language in code samples --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 }, ] }); ``` -- 2.26.2