mirror of
https://github.com/scratchfoundation/scratchx.git
synced 2024-11-28 10:36:03 -05:00
Load a project if specified on the URL
This commit is contained in:
parent
9a957780c7
commit
b392050016
1 changed files with 10 additions and 2 deletions
12
index.html
12
index.html
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue