Skip to content

Commit 2934817

Browse files
committed
denote language in code samples
1 parent 46f98ff commit 2934817

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ The multiplex plugin allows your audience to view the slides on their own phone,
404404

405405
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:
406406

407-
```
407+
```javascript
408408
Reveal.initialize({
409409
...
410410

@@ -416,9 +416,9 @@ Reveal.initialize({
416416
},
417417

418418
dependencies: [
419-
{ src: 'socket.io/socket.io.js', async: true, condition: function() { return !!document.body.classList; } },
420-
{ src: 'plugin/multiplex/client.js', async: true, condition: function() { return !!document.body.classList; } },
421-
{ src: 'plugin/multiplex/master.js', async: true, condition: function() { return !!document.body.classList; } },
419+
{ src: 'socket.io/socket.io.js', async: true },
420+
{ src: 'plugin/multiplex/client.js', async: true },
421+
{ src: 'plugin/multiplex/master.js', async: true },
422422
]
423423
});
424424
```

0 commit comments

Comments
 (0)