1self.importScripts("https://js.appboycdn.com/web-sdk/4.7/service-worker.js"); 2 3const installEvent = () => { 4 self.addEventListener("install", () => { 5 console.log("service worker installed"); 6 }); 7}; 8installEvent(); 9 10const activateEvent = () => { 11 self.addEventListener("activate", () => { 12 console.log("service worker activated"); 13 }); 14}; 15activateEvent();
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.