tomayac / opfs-explorer

OPFS Explorer is a Chrome DevTools extension that allows you to explore the Origin Private File System (OPFS) of a web application.
https://tomayac.github.io/opfs-explorer/
Apache License 2.0
99 stars 11 forks source link

Update serviceworker.js #8

Closed lemanschik closed 1 year ago

lemanschik commented 1 year ago

Made the service_worker.js more readable reduced a bit of assignment overhead that is none needed for the engine.

tomayac commented 1 year ago

Thank you! Re-added the IIFE to avoid repeated (chrome || browser).