mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-28 23:19:03 -04:00
* Markup/CSS adjustments * Move assets to folder * Strip extra font-family * More robust handling of project-load fail state * Move empty project creation to its own function * Move green flag/stop back out of the tab * Restore default id
This commit is contained in:
parent
40b530fa7e
commit
79346c0925
7 changed files with 86 additions and 82 deletions
src
|
@ -80,6 +80,10 @@ VirtualMachine.prototype.loadProject = function (json) {
|
|||
this.vmWorker.postMessage({method: 'loadProject', json: json});
|
||||
};
|
||||
|
||||
VirtualMachine.prototype.createEmptyProject = function () {
|
||||
this.vmWorker.postMessage({method: 'createEmptyProject'});
|
||||
};
|
||||
|
||||
VirtualMachine.prototype.setEditingTarget = function (targetId) {
|
||||
this.vmWorker.postMessage({method: 'setEditingTarget', targetId: targetId});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue