adjustments to reveal.js initialization flow
This commit is contained in:
1 parent
9336fc11ca
commit
ddbe06eb7e
4 files changed
+30
-25
No files matched your search
+1
-1
@@ -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 ) );
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user