Sha256: 0bac6c0c9cd71a68231be2fe2419d62f02222de8cb5792227189447386c36a9e
Contents?: true
Size: 1.08 KB
Versions: 9
Compression:
Stored size: 1.08 KB
Contents
(function() { function extend( a, b ) { for(var i in b) { a[i] = b[i]; } } var baseOptions = { transition: '<%= config.transition %>', 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, 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; } } ] }; var configOptions = <%= config.revealjs_config.to_json %> var initializeOptions = {}; extend(initializeOptions, baseOptions); extend(initializeOptions, configOptions); Reveal.initialize(initializeOptions); })();
Version data entries
9 entries across 9 versions & 1 rubygems