mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Update index.js
This commit is contained in:
parent
424b41ac31
commit
34d2676db3
1 changed files with 1 additions and 0 deletions
|
@ -158,6 +158,7 @@ VirtualMachine.prototype.loadProject = function (json) {
|
|||
VirtualMachine.prototype.exportToJson = function () {
|
||||
var obj = new Object();
|
||||
obj.sprites = this.runtime.targets;
|
||||
obj.meta = new Object();
|
||||
obj.meta.name = 'WIP';
|
||||
obj.meta.useragent = navigator.userAgent;
|
||||
return JSON.stringify(obj, null, 2);
|
||||
|
|
Loading…
Reference in a new issue