1(function() { 2 const cursor = document.querySelector('#cursor'); 3 4 const mouse = { 5 pos: { 6 x: null, 7 y: null 8 } 9 } 10 11 const updateMousePosition = () => { 12 cursor.style.left = `${mouse.pos.x - 13}px`; 13 cursor.style.top = `${mouse.pos.y - 13}px`; 14 } 15 16 const handleMouseMove = e => { 17 mouse.pos.x = e.clientX; 18 mouse.pos.y = e.clientY; 19 updateMousePosition(); 20 } 21 22 // UNCOMMENT THIS TO INITIATE 23 // document.addEventListener('mousemove', handleMouseMove) 24})()
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.