Sha256: d904f98934d5dd33994f799c51944f63a4a78931adb6ab7b27d779628becff17

Contents?: true

Size: 785 Bytes

Versions: 13

Compression:

Stored size: 785 Bytes

Contents

// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT
// IT'S ALL JUST JUNK FOR OUR DOCS!
// ++++++++++++++++++++++++++++++++++++++++++

(function () {
  'use strict'

  if ('serviceWorker' in navigator) {
    window.addEventListener('load', function () {
      navigator.serviceWorker.getRegistrations().then(function (registrations) {
        for (var registration of registrations) {
          registration.unregister()
            .then(function () {
              return self.clients.matchAll()
            })
            .then(function (clients) {
              clients.forEach(function (client) {
                if (client.url && 'navigate' in client) {
                  client.navigate(client.url)
                }
              })
            })
        }
      })
    })
  }
})()

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
card-mod-bootstrap-0.18.1 vendor/bootstrap/site/static/sw.js
card-mod-bootstrap-0.18.0 vendor/bootstrap/site/static/sw.js
card-mod-bootstrap-0.17.0 vendor/bootstrap/site/static/sw.js
card-mod-bootstrap-0.16.0 vendor/bootstrap/site/static/sw.js
card-mod-bootstrap-0.15.6 vendor/bootstrap/site/static/sw.js
card-mod-bootstrap-0.15.5 vendor/bootstrap/site/static/sw.js
card-mod-bootstrap-0.15.4 vendor/bootstrap/site/static/sw.js
card-mod-bootstrap-0.15.3 vendor/bootstrap/site/static/sw.js
card-mod-bootstrap-0.15.1.2 vendor/bootstrap/site/static/sw.js
card-mod-bootstrap-0.15.2.pre1 vendor/bootstrap/site/static/sw.js
card-mod-bootstrap-0.15.1.1 vendor/bootstrap/site/static/sw.js
card-mod-bootstrap-0.15.1 vendor/bootstrap/site/static/sw.js
card-mod-bootstrap-0.15.0 vendor/bootstrap/site/static/sw.js