/* global importScripts, onFetch, onInstall, onActivate, mapping */ importScripts('injector.js');
The default mapping contains the map for abstract resources to their concrete counterparts.
All the functionality is in
injector.jshere we only wire the listeners.
self.onfetch = onFetch; self.oninstall = onInstall; self.onactivate = onActivate;
Has it been useful?
Tell us what you think of this recipe by leaving a comment!