mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-11 10:39:56 -05:00
Pretty Print
This commit is contained in:
parent
a520990a80
commit
424b41ac31
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ VirtualMachine.prototype.exportToJson = function () {
|
|||
obj.sprites = this.runtime.targets;
|
||||
obj.meta.name = 'WIP';
|
||||
obj.meta.useragent = navigator.userAgent;
|
||||
return JSON.stringify(obj);
|
||||
return JSON.stringify(obj, null, 2);
|
||||
};
|
||||
|
||||
VirtualMachine.prototype.importFromJson = function (json) {
|
||||
|
|
Loading…
Reference in a new issue