2020-03-07 17:22:19 +00:00
|
|
|
import Presentation from './reveal.js'
|
2020-03-07 09:44:02 +00:00
|
|
|
|
2020-03-31 11:06:58 +00:00
|
|
|
window.Reveal = Presentation;
|
|
|
|
|
2020-03-10 17:37:37 +00:00
|
|
|
// Provides a backwards compatible way to initialize
|
|
|
|
// reveal.js when there is only one presentation on
|
|
|
|
// the page.
|
2020-03-07 17:22:19 +00:00
|
|
|
//
|
|
|
|
// Reveal.initialize({ controls: false })
|
2020-03-10 17:37:37 +00:00
|
|
|
// Reveal.slide(2)
|
2020-03-31 11:06:58 +00:00
|
|
|
window.Reveal.initialize = options => {
|
|
|
|
window.Reveal = new Presentation( document.querySelector( '.reveal' ), options );
|
|
|
|
return window.Reveal.initialize();
|
2020-03-07 09:44:02 +00:00
|
|
|
}
|