Created
May 27, 2016 06:12
-
-
Save TylerLeonhardt/de22d9240d050f43fb187ca75cf89ffb to your computer and use it in GitHub Desktop.
Script tag at the bottom of app/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
// Register service worker if supported. | |
if ('serviceWorker' in navigator) { | |
navigator.serviceWorker.register('/service-worker.js'); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment