1'use strict'; 2//get screen width 3function hmenu_getWidth(){ 4 var windowWidth = 0; 5 if(typeof(window.innerWidth) == 'number'){ 6 windowWidth = window.innerWidth; 7 }else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)){ 8 windowWidth = document.documentElement.clientWidth; 9 }else if(document.body && (document.body.clientWidth || document.body.clientHeight)){ 10 windowWidth = document.body.clientWidth; 11 } 12 return windowWidth; 13} 14 15//get screen height 16function hmenu_getHeight(){ 17 var windowHeight = 0; 18 if(typeof(window.innerWidth) == 'number'){ 19 windowHeight = window.innerHeight; 20 }else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)){ 21 windowHeight = document.documentElement.clientHeight; 22 }else if(document.body && (document.body.clientWidth || document.body.clientHeight)){ 23 windowHeight = document.body.clientHeight; 24 } 25 return windowHeight; 26}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.