mirror of
https://github.com/google/pebble.git
synced 2025-04-23 21:17:12 -04:00
spelling: when
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
7885833fe8
commit
8ee2a95771
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ function renderJson(root) {
|
|||
// Aggregate the values for internal nodes. This is normally done by the
|
||||
// treemap layout, but not here because of our custom implementation.
|
||||
// We also take a snapshot of the original children (_children) to avoid
|
||||
// the children being overwritten when when layout is computed.
|
||||
// the children being overwritten when layout is computed.
|
||||
function accumulate(d) {
|
||||
return (d._children = d.children)
|
||||
? d.value = d.children.reduce(function(p, v) { return p + accumulate(v); }, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue