aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/serviceworkerglobalscope/onactivate
diff options
context:
space:
mode:
authorThomas Citharel <github@tcit.fr>2021-05-08 14:41:17 +0200
committerGitHub <noreply@github.com>2021-05-08 14:41:17 +0200
commit3b0f3b4310d7cad3bd61d0fbfcbc2f81d9cc6713 (patch)
tree22573e424d7a29b5e8c15beceffd8a96c5d2ec0c /files/ja/web/api/serviceworkerglobalscope/onactivate
parent9d44c5f911d2e22da70737c1576f6e065bebab57 (diff)
downloadtranslated-content-3b0f3b4310d7cad3bd61d0fbfcbc2f81d9cc6713.tar.gz
translated-content-3b0f3b4310d7cad3bd61d0fbfcbc2f81d9cc6713.tar.bz2
translated-content-3b0f3b4310d7cad3bd61d0fbfcbc2f81d9cc6713.zip
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 <tcit@tcit.fr>
Diffstat (limited to 'files/ja/web/api/serviceworkerglobalscope/onactivate')
-rw-r--r--files/ja/web/api/serviceworkerglobalscope/onactivate/index.html2
1 files changed, 1 insertions, 1 deletions
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) { ... });<
<p>次のスニペットは、<a href="/ja/docs/Web/API/ServiceWorker_API/Using_Service_Workers#Updating_your_service_worker">Using Service Workers</a> のものです; 詳細はそちらを見てください。</p>
-<pre class="brush: js">then.addEventListener('activate', function(event) {
+<pre class="brush: js">this.addEventListener('activate', function(event) {
var cacheWhitelist = ['v2'];
event.waitUntil(