forked from blallo/talk-hm-0x15
remove classList condition from unrelated dependencies
This commit is contained in:
parent
36cdaefdfd
commit
e7b9e95369
2 changed files with 5 additions and 5 deletions
|
@ -209,13 +209,13 @@ Reveal.initialize({
|
||||||
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
|
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
|
||||||
|
|
||||||
// Zoom in and out with Alt+click
|
// 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
|
// 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
|
// 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
|
// MathJax
|
||||||
{ src: 'plugin/math/math.js', async: true }
|
{ src: 'plugin/math/math.js', async: true }
|
||||||
|
|
|
@ -401,8 +401,8 @@ function linkify( selector ) {
|
||||||
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
|
{ 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/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/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/zoom-js/zoom.js', async: true },
|
||||||
{ src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
|
{ src: 'plugin/notes/notes.js', async: true }
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue