1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

pretty print json

This commit is contained in:
Kyle Spearrin
2018-05-15 12:44:10 -04:00
parent 07cc64c0b8
commit 8e23842399
7 changed files with 50 additions and 35 deletions

View File

@@ -8,11 +8,8 @@ export class Folder {
name: string;
constructor(o?: FolderView) {
if (o == null) {
return;
}
// Use build method instead of ctor so that we can control order of JSON stringify for pretty print
build(o: FolderView) {
this.name = o.name;
}
}