Skip to content

Commit 65fc9a9

Browse files
committed
chore: corrected the writing of Service Worker
1 parent ab9dccd commit 65fc9a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ <h2>dynamic images &amp; iframes</h2>
215215
<script type="module" src="index.js"></script>
216216
<script>
217217
if ("serviceWorker" in navigator) {
218-
// Differentiate in between the ServiceWorker scripts for the different browser capabilities / support
218+
// Differentiate in between the Service Worker scripts for the different browser capabilities / support
219219
navigator.serviceWorker.register(
220220
"../loading-attribute-polyfill.sw.js?loading-images=" +
221221
("loading" in HTMLImageElement.prototype) +

0 commit comments

Comments
 (0)