MCPcopy Index your code
hub / github.com/docker/getting-started / getWindowSizes

Function getWindowSizes

app/src/static/js/react-bootstrap.js:3332–3340  ·  view source on GitHub ↗
(document)

Source from the content-addressed store, hash-verified

3330}
3331
3332function getWindowSizes(document) {
3333 var body = document.body;
3334 var html = document.documentElement;
3335 var computedStyle = isIE(10) && getComputedStyle(html);
3336 return {
3337 height: getSize('Height', body, html, computedStyle),
3338 width: getSize('Width', body, html, computedStyle)
3339 };
3340}
3341
3342var classCallCheck = function (instance, Constructor) {
3343 if (!(instance instanceof Constructor)) {

Callers 2

getBoundingClientRectFunction · 0.85
getBoundariesFunction · 0.85

Calls 2

isIEFunction · 0.85
getSizeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…