Update to use new SDF2D version
This commit is contained in:
parent
f0a9c1df68
commit
9062ae04a3
14 changed files with 160 additions and 209 deletions
|
|
@ -1,4 +1,4 @@
|
|||
export const prettyPrint = (o: any): string =>
|
||||
JSON.stringify(o, (_, v) => (v.toFixed ? Number(v.toFixed(3)) : v), ' ')
|
||||
JSON.stringify(o, (_, v) => (v?.toFixed ? Number(v.toFixed(3)) : v), ' ')
|
||||
.replace(/("|,|{|^\n)/g, '')
|
||||
.replace(/(\W*}\n?)+/g, '\n\n');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue