1self.addEventListener('install', function(event) { 2 console.log('install'); 3}); 4self.addEventListener('push', function (event) { 5 if (event.data) { 6 var event_data = parseNotification(event.data); 7 const promiseChain = self.registration.showNotification(event_data.text(), event_data); 8 event.waitUntil(promiseChain); 9 } 10});
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.