(document)
| 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)) { |
no test coverage detected