mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-14 16:35:07 +01:00
adjustments to reveal.js initialization flow
This commit is contained in:
parent
9336fc11ca
commit
ddbe06eb7e
4 changed files with 30 additions and 25 deletions
|
|
@ -153,7 +153,7 @@ export default function( revealElement, options ) {
|
|||
// Load plugins then move on to #start()
|
||||
plugins.load( config.dependencies ).then( start )
|
||||
|
||||
return Reveal;
|
||||
return new Promise( resolve => Reveal.addEventListener( 'ready', resolve ) );
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue