From: Hakim El Hattab Date: Wed, 15 Aug 2012 02:06:53 +0000 (-0400) Subject: readme tweaks X-Git-Tag: 2.0.0~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=022d8ca27d0eca6b559045888781d2159a5e602f;p=reveal.js.git readme tweaks --- diff --git a/README.md b/README.md index 566a652..1db57be 100644 --- a/README.md +++ b/README.md @@ -87,16 +87,15 @@ Reveal.js doesn't _rely_ on any third party scripts to work but a few optional l ```javascript Reveal.initialize({ dependencies: [ - // syntax highlight for sections + // Syntax highlight for elements { src: 'lib/js/highlight.js', async: true, callback: function() { window.hljs.initHighlightingOnLoad(); } }, - // cross-browser shim that fully implements classList - https://github.com/eligrey/classList.js/ + // Cross-browser shim that fully implements classList - https://github.com/eligrey/classList.js/ { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } } - // interpret Markdown in
elements + // Interpret Markdown in
elements { src: 'lib/js/data-markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, { src: 'lib/js/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, - // speaker notes support + // Speaker notes support { src: 'plugin/speakernotes/client.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } }, - // required by speakernotes { src: 'socket.io/socket.io.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } }, ] });