MCPcopy Create free account
hub / github.com/apache/storm / initializeComponents

Function initializeComponents

storm-webapp/src/main/webapp/js/script.js:480–490  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

478 }
479
480 var initializeComponents = function (){
481 var show = $.cookies.get("showComponents") || false;
482
483 // toggle all components visible/invisible (tbody rows only)
484 $(elId + ' tbody tr').each(function (){
485 var row = $(elId).DataTable().row(this);
486 if (row.node()) {
487 showComponents(row, show);
488 }
489 });
490 };
491
492 var pagingEnabled = response && response.workers &&
493 response.workers.length > minEntriesToShowPagination;

Callers 1

makeWorkerStatsTableFunction · 0.85

Calls 3

showComponentsFunction · 0.85
getMethod · 0.65
eachMethod · 0.65

Tested by

no test coverage detected