Pretty Print
This commit is contained in:
1 parent
a520990a80
commit
424b41ac31
1 file changed
+1
-1
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user