fixed issue with dependency loader failing when there were 0 async scripts (#214)
This commit is contained in:
@ -231,8 +231,10 @@ var Reveal = (function(){
|
||||
|
||||
// Called once synchronous scritps finish loading
|
||||
function proceed() {
|
||||
// Load asynchronous scripts
|
||||
head.js.apply( null, scriptsAsync );
|
||||
if( scriptsAsync.length ) {
|
||||
// Load asynchronous scripts
|
||||
head.js.apply( null, scriptsAsync );
|
||||
}
|
||||
|
||||
start();
|
||||
}
|
||||
|
Reference in New Issue
Block a user