mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-14 16:35:07 +01:00
add 'plugins' config option, new way of registering es5 plugins
This commit is contained in:
parent
08f29f08a2
commit
d9690462e0
20 changed files with 44 additions and 72 deletions
|
|
@ -145,7 +145,7 @@ export default function( revealElement, options ) {
|
|||
window.addEventListener( 'load', layout, false );
|
||||
|
||||
// Load plugins then move on to #start()
|
||||
plugins.load( config.dependencies ).then( start );
|
||||
plugins.load( [...config.dependencies, ...config.plugins] ).then( start );
|
||||
|
||||
return new Promise( resolve => Reveal.on( 'ready', resolve ) );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue