Sha256: 579d2906163a338f07c68aa555fd466760e324bad922f5d48d58833597dca0c9
Contents?: true
Size: 545 Bytes
Versions: 8
Compression:
Stored size: 545 Bytes
Contents
/* eslint no-console:off */ (function () { 'use strict' if ('serviceWorker' in navigator) { window.addEventListener('load', function () { navigator.serviceWorker.register('/sw.js').then(function (registration) { // eslint-disable-line compat/compat console.log('ServiceWorker registration successful with scope: ', registration.scope) }).catch(function (err) { console.log('ServiceWorker registration failed: ', err) }) }) } else { console.log('Service workers are not supported.') } }())
Version data entries
8 entries across 8 versions & 1 rubygems