add 'plugins' config option, new way of registering es5 plugins
This commit is contained in:
@@ -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 ) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user