Find
C
ase-sensitive
R
egexp search
Path
mozilla-central
/
third_party
/
webkit
/
PerformanceTests
/
Speedometer3
/
resources
/
todomvc
/
big-dom-generator
/
src
Navigation
Enable keyboard shortcuts
Name
Description
Size
app.css
Importing the CSS from the Spectrum CSS library.
11591
app.jsx
533
assets
components
tree-generator.js
Iterate over the exapandableItem nodes in a breadth-first manner until the sum of weights of the subtrees with root nodes in the queue is less than the target number of elements we want to have display none. Mark the nodes in the queue as display none. Consider the following example with the weights as displayed in the figure and 10 as the target number of display none elements. The iteration will stop with the nodes with weights 7 and 2 marked with *. 20 / \ 12 8 / \ / \ 5 *7* *2* 6 / / \ 7 1 1
7096