Failed to execute template. Cause: [Access denied when checking [script] access to [xwiki:Collaboratory.UX.HbpSkin.WebHome] for user [xwiki:XWiki.Admin]]. Click on this message for details.

LiveTableServiceWorker - HBP Wiki

IAM21 instance, do not create collab nor modify a team, your changes will be lost


Changes for page LiveTableServiceWorker

Last modified by bougault on 2022/03/22 17:19

From version 2.8
edited by bougault
on 2022/03/21 11:02
Change comment: Update document after refactoring.
To version 4.6
edited by bougault
on 2022/03/21 12:47
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,0 +1,16 @@
1 +{{velocity}}
2 +$response.setContentType("text/javascript")
3 +self.addEventListener("install" , evt => {
4 + console.log(evt);
5 +});
6 +
7 +self.addEventListener("activate" , evt => {
8 + console.log(evt);
9 + clients.claim();
10 +});
11 +
12 +self.addEventListener("fetch" , evt => {
13 + console.log(evt);
14 +});
15 +
16 +{{/velocity}}