2017-09-28 19:18:12 -04:00
|
|
|
/**
|
|
|
|
* @license
|
2020-05-19 15:08:49 -04:00
|
|
|
* Copyright Google LLC All Rights Reserved.
|
2017-09-28 19:18:12 -04:00
|
|
|
*
|
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
|
|
|
import {Adapter} from './src/adapter';
|
|
|
|
import {CacheDatabase} from './src/db-cache';
|
|
|
|
import {Driver} from './src/driver';
|
|
|
|
|
|
|
|
const scope = self as any as ServiceWorkerGlobalScope;
|
|
|
|
|
2019-03-20 17:29:15 -04:00
|
|
|
const adapter = new Adapter(scope);
|
2017-09-28 19:18:12 -04:00
|
|
|
const driver = new Driver(scope, adapter, new CacheDatabase(scope, adapter));
|