files/reveal-ck/templates/index.html/script.js.erb in reveal-ck-3.9.2 vs files/reveal-ck/templates/index.html/script.js.erb in reveal-ck-4.0.0
- old
+ new
@@ -4,16 +4,14 @@
a[i] = b[i];
}
}
var baseOptions = {
transition: '<%= config.transition %>',
-
+ hash: true,
dependencies: [
- { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
- { 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 },
+ { src: 'plugin/markdown/marked.js' },
+ { src: 'plugin/markdown/markdown.js' },
+ { src: 'plugin/highlight/highlight.js' },
{ src: 'plugin/notes/notes.js', async: true }
]
};
<% plugin_files.each do |plugin| %>