s code.</p>
<div class="sourceCode" id="cb927"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb927-1"><a href="mobile-pwa.html#cb927-1" aria-hidden="true" tabindex="-1"></a>self<span class="op">.</span><span class="fu">addEventListener</span>(<span class="st">'activate'</span><span class="op">,</span> (<span class="bu">event</span>) <span class="kw">=&gt;</span> {</span>
<span id="cb927-2"><a href="mobile-pwa.html#cb927-2" aria-hidden="true" tabindex="-1"></a>  <span class="bu">ev