Show byte count in children view
This commit is contained in:
parent
c1a6d0da10
commit
e0a2a3287b
|
@ -1,6 +1,7 @@
|
|||
// @ts-check
|
||||
|
||||
import crel, { fragment } from "./crel.js";
|
||||
import pluralize from "./pluralize.js";
|
||||
import formatBytes from "./formatBytes.js";
|
||||
import allChildrenOf from "./allChildrenOf.js";
|
||||
import * as nodePath from "./nodePath.js";
|
||||
|
@ -187,7 +188,7 @@ const traverse = (node, path, getNodeUi) => {
|
|||
crel(
|
||||
"span",
|
||||
{ "class": "bytecount" },
|
||||
"TODO: X bytes",
|
||||
pluralize(node.bytes.byteLength, "byte"),
|
||||
),
|
||||
),
|
||||
description,
|
||||
|
|
Loading…
Reference in New Issue