https://github.com/angular/angular
Raw File
Tip revision: e3b6e26565bcd03b259392c6676ce931e8b5be20 authored by Joey Perrott on 18 August 2021, 21:38:39 UTC
release: cut the v13.0.0-next.2 release (#43200)
Tip revision: e3b6e26
ngsw-worker.js
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */

// Mock `ngsw-worker.js` used for testing the examples.
// Immediately takes over and unregisters itself.
self.addEventListener('install', evt => evt.waitUntil(self.skipWaiting()));
self.addEventListener(
    'activate',
    evt => evt.waitUntil(self.clients.claim().then(() => self.registration.unregister())));
back to top