Load a project if specified on the URL

This commit is contained in:
Chris Willis-Ford 2015-03-26 13:31:41 -07:00
parent 9a957780c7
commit b392050016

View file

@ -44,6 +44,10 @@
}
}
function JSprojectLoaded() {
loadExtensionQueue();
}
var extensionQueue = [];
function handleParameters() {
var project;
@ -60,8 +64,12 @@
break;
}
}
// TODO: load project if specified
loadExtensionQueue();
if (project) {
Scratch.FlashApp.ASobj.ASloadSBXFromURL(project);
}
else {
loadExtensionQueue();
}
}
function loadExtensionQueue() {