MCPcopy Index your code
hub / github.com/deepch/RTSPtoWebRTC / getWindowSizes

Function getWindowSizes

web/static/js/bootstrap.bundle.js:1847–1856  ·  view source on GitHub ↗
(document)

Source from the content-addressed store, hash-verified

1845 }
1846
1847 function getWindowSizes(document) {
1848 var body = document.body;
1849 var html = document.documentElement;
1850 var computedStyle = isIE(10) && getComputedStyle(html);
1851
1852 return {
1853 height: getSize('Height', body, html, computedStyle),
1854 width: getSize('Width', body, html, computedStyle)
1855 };
1856 }
1857
1858 var classCallCheck = function (instance, Constructor) {
1859 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