lavas-project / jekyll-pwa

Jekyll plugin for PWA
MIT License
107 stars 19 forks source link

Event.initEvent() has been deprecated #34

Closed Sakrecoer closed 3 years ago

Sakrecoer commented 3 years ago

Trying to learn how to capture the sw.update custom event, I found out the method used to initialize the value of the event by jekyll-pwa in sw-register.js has been deprecated.

https://developer.mozilla.org/en-US/docs/Web/API/Event/initEvent

I wish i could help you address it, but the paragraph above should be fairly explicit about my level with these things...

If this is known or by any other means irrelevant to you, please excuse me for the noise.

rdy4ever commented 3 years ago

Here's the PR: https://github.com/lavas-project/jekyll-pwa/pull/36/files

souldanger commented 3 years ago

latest version adressed the issue