Limited Debug register support

This commit is contained in:
Jeff Parsons 2015-08-02 21:11:19 -07:00
commit 9fa2941394
7 changed files with 168 additions and 85 deletions

View file

@ -2142,7 +2142,7 @@ Disk.prototype.toJSON = function()
/*
* Last but not least, insert line breaks after every object definition, to ease the pain on text editors.
*/
s = s.replace(/},/gm, "},\n");
s = s.replace(/([\]}]),/gm, "$1,\n");
return s;
};