1if ('serviceWorker' in navigator) { 2 // console.log("Will the service worker register?"); 3 navigator.serviceWorker.register('/sw.js') 4 .then(function(reg){ 5 // console.log("Yes, it did.", reg.scope); 6 }).catch(function(err) { 7 // console.log("No it didn't. This happened:", err) 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.