aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-09-28 13:05:53 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-09-28 13:05:53 +0200
commite7b9e95369c36ba50212d2d5d913d9043318c18b (patch)
treebabd56f0b7ca82f0e3069ed190d57fc475098c0a
parent36cdaefdfd5e0f6111f111dea8acdc81d95cc790 (diff)
downloadfreenode-live-2017-presentation-e7b9e95369c36ba50212d2d5d913d9043318c18b.tar
freenode-live-2017-presentation-e7b9e95369c36ba50212d2d5d913d9043318c18b.tar.gz
remove classList condition from unrelated dependencies
-rw-r--r--README.md6
-rw-r--r--index.html4
2 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 2d39b7f..b2bab3d 100644
--- a/README.md
+++ b/README.md
@@ -209,13 +209,13 @@ Reveal.initialize({
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
// Zoom in and out with Alt+click
- { src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
+ { src: 'plugin/zoom-js/zoom.js', async: true },
// Speaker notes
- { src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } },
+ { src: 'plugin/notes/notes.js', async: true },
// Remote control your reveal.js presentation using a touch device
- { src: 'plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } },
+ { src: 'plugin/remotes/remotes.js', async: true },
// MathJax
{ src: 'plugin/math/math.js', async: true }
diff --git a/index.html b/index.html
index 65b4736..901a624 100644
--- a/index.html
+++ b/index.html
@@ -401,8 +401,8 @@ function linkify( selector ) {
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
- { src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
- { src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
+ { src: 'plugin/zoom-js/zoom.js', async: true },
+ { src: 'plugin/notes/notes.js', async: true }
]
});