MCPcopy Create free account
hub / github.com/BloombergGraphics/whatiscode / renderWindows

Function renderWindows

modules/toc/toc.js:154–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152 }
153
154 function renderWindows() {
155 stats.windows.current = document.getElementsByTagName('body')[0].scrollTop;
156 module.sel.selectAll(".histogram div.window")
157 .style("display", function(d) { return stats.windows[d] !== null ? "block" : "none"; })
158 .style("top", function(d) { return pixelsToPercentage(stats.windows[d]) + "%"; });
159 }
160
161 function renderTOC() {
162 var tree = [];

Callers 2

toc.jsFile · 0.85
renderHistogramFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected