Created
March 21, 2018 17:27
-
-
Save jacky810124/8edebe9e5d4ff65f792f9c0b72d18522 to your computer and use it in GitHub Desktop.
PWA Day04 app.js
This file contains hidden or 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
if ('serviceWorker' in navigator) { | |
navigator | |
.serviceWorker | |
.register('/sw.js') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment