MCPcopy Index your code
hub / github.com/nodejs/node / constructor

Method constructor

deps/v8/tools/profview/profview.js:528–548  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

526
527class CallTreeView {
528 constructor() {
529 this.element = $("calltree");
530 this.treeElement = $("calltree-table");
531 this.selectAttribution = $("calltree-attribution");
532 this.selectCategories = $("calltree-categories");
533 this.selectSort = $("calltree-sort");
534
535 this.selectAttribution.onchange = () => {
536 main.setCallTreeAttribution(this.selectAttribution.value);
537 };
538
539 this.selectCategories.onchange = () => {
540 main.setCallTreeCategories(this.selectCategories.value);
541 };
542
543 this.selectSort.onchange = () => {
544 main.setCallTreeSort(this.selectSort.value);
545 };
546
547 this.currentState = null;
548 }
549
550 sortFromId(id) {
551 switch (id) {

Callers

nothing calls this directly

Calls 1

$Function · 0.70

Tested by

no test coverage detected