1if ('serviceWorker' in navigator) { 2 window.addEventListener('load', function () { 3 navigator.serviceWorker.register('/serviceWorker.js').then(function (registration) { 4 console.log('ServiceWorker registration successful with scope: ', registration.scope); 5 }, function (err) { 6 console.error('ServiceWorker registration failed: ', err); 7 }); 8 }); 9}
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.