1 2function getLocationPermission() { 3 if (navigator.geolocation) { 4 navigator.geolocation.getCurrentPosition( 5 function (position) { 6 let lat = position.coords.latitude; 7 let lon = position.coords.longitude; 8 9 $.post('/Common/SaveLocationToCookie', 10 { latitude: lat, longitude: lon }, 11 function (res) { 12 location.reload(); 13 14 } 15 ); 16 }, 17 function (error) { 18 } 19 ); 20 } else { 21 } 22}
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.