Skip to content

Commit

Permalink
remove demo serviceWorker
Browse files Browse the repository at this point in the history
  • Loading branch information
Carsten Schildknecht committed Dec 13, 2018
1 parent 66cc9ec commit 7e329c4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
13 changes: 0 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,6 @@
<body>
<main id="owncloud"></main>
<script data-main="core/js/core.bundle.js" src="node_modules/requirejs/require.js"></script>
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('sw.js')
.then(registration => {
// Service Worker registered
})
.catch(err => {
// Service Worker registration failed
});
});
}
</script>
<noscript>
<div id="enable-js-banner">
<span id="banner-content"><h3>Please enable JavaScript</h3></span>
Expand Down
10 changes: 0 additions & 10 deletions sw.js

This file was deleted.

0 comments on commit 7e329c4

Please sign in to comment.