From 64ab8de7d6cb2756eedbb8daaeb51b0e36183584 Mon Sep 17 00:00:00 2001 From: classlfz Date: Mon, 21 Jun 2021 13:56:00 +0800 Subject: [zh-cn] fix filename --- files/zh-cn/web/progressive_web_apps/app_structure/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files') diff --git a/files/zh-cn/web/progressive_web_apps/app_structure/index.html b/files/zh-cn/web/progressive_web_apps/app_structure/index.html index 87c946d0b4..383cd446a0 100644 --- a/files/zh-cn/web/progressive_web_apps/app_structure/index.html +++ b/files/zh-cn/web/progressive_web_apps/app_structure/index.html @@ -172,7 +172,7 @@ button.addEventListener('click', function(e) {

service worker

-

最后我们来快速浏览一下 Service Worker 相关的文件 sw.js。它首先引入 game.js 这个文件:

+

最后我们来快速浏览一下 Service Worker 相关的文件 sw.js。它首先引入 games.js 这个文件:

self.importScripts('data/games.js');
-- cgit v1.2.3-54-g00ecf