Skip to content

Instantly share code, notes, and snippets.

@goofmint

goofmint/index.js

Created Jun 19, 2018
Embed
What would you like to do?
self.addEventListener('install', e => {
// インストール時に実行
});
self.addEventListener('activate', e => {
// アップデート時など
});
self.addEventListener('fetch', e => {
// 外部リソース取得時
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.