fix unit tests, use qunit-puppeteer for es6 support
This commit is contained in:
parent
fe75be1cff
commit
dbbd82579e
6 changed files with 201 additions and 224 deletions
12
js/index.js
12
js/index.js
|
@ -1,16 +1,14 @@
|
|||
import Presentation from './reveal.js'
|
||||
|
||||
window.Reveal = Presentation;
|
||||
|
||||
// Provides a backwards compatible way to initialize
|
||||
// reveal.js when there is only one presentation on
|
||||
// the page.
|
||||
//
|
||||
// Reveal.initialize({ controls: false })
|
||||
// Reveal.slide(2)
|
||||
window.Reveal = {
|
||||
|
||||
initialize: options => {
|
||||
window.Reveal = new Presentation( document.querySelector( '.reveal' ), options );
|
||||
return window.Reveal.initialize();
|
||||
}
|
||||
|
||||
window.Reveal.initialize = options => {
|
||||
window.Reveal = new Presentation( document.querySelector( '.reveal' ), options );
|
||||
return window.Reveal.initialize();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue