/* global importScripts, onFetch, onInstall, onActivate, mapping */ importScripts('injector.js');
Load the default mapping between abstract and concrete resources.
utils/dialogsto serve the mockup instead.
mapping['utils/dialogs'] = 'mock-dialogs.js'; 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!