aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/serviceworkerglobalscope/onactivate/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/api/serviceworkerglobalscope/onactivate/index.html')
-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(