From 3b0f3b4310d7cad3bd61d0fbfcbc2f81d9cc6713 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sat, 8 May 2021 14:41:17 +0200 Subject: Fix a typo in the example for CacheStorage.keys() (#781) Follow-up to https://github.com/mdn/content/pull/4790 on the main repo Signed-off-by: Thomas Citharel --- files/ja/web/api/serviceworkerglobalscope/onactivate/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/ja/web/api/serviceworkerglobalscope/onactivate') diff --git a/files/ja/web/api/serviceworkerglobalscope/onactivate/index.html b/files/ja/web/api/serviceworkerglobalscope/onactivate/index.html index 61ade1cdd8..5458d5376d 100644 --- a/files/ja/web/api/serviceworkerglobalscope/onactivate/index.html +++ b/files/ja/web/api/serviceworkerglobalscope/onactivate/index.html @@ -25,7 +25,7 @@ ServiceWorkerGlobalScope.addEventListener('activate', function(event) { ... });<

次のスニペットは、Using Service Workers のものです; 詳細はそちらを見てください。

-
then.addEventListener('activate', function(event) {
+
this.addEventListener('activate', function(event) {
   var cacheWhitelist = ['v2'];
 
   event.waitUntil(
-- 
cgit v1.2.3-54-g00ecf