From 424b41ac315b0fc62fc32b42a67e34712aa80015 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Fri, 2 Dec 2016 15:41:55 -0500 Subject: [PATCH] Pretty Print --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index a9e1fe329..204970429 100644 --- a/src/index.js +++ b/src/index.js @@ -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) {