Skip to content

Commit cf9f771

Browse files
committed
docs: added comments
1 parent 515b927 commit cf9f771

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

demo/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,9 @@ <h2>dynamic images &amp; iframes</h2>
212212
Add dynamic image and iframe underneath
213213
</button>
214214
</main>
215+
<!-- The polyfill itself is being included in the following script -->
215216
<script type="module" src="index.js"></script>
217+
<!-- Register a Service Worker that intercepts the network requests to prevent the images and iframe content being requested -->
216218
<script>
217219
if ("serviceWorker" in navigator) {
218220
// Differentiate in between the Service Worker scripts for the different browser capabilities / support

0 commit comments

Comments
 (0)