Skip to content

Commit

Permalink
foundation init fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pkrawat1 committed Apr 7, 2017
1 parent 96b8bf6 commit a1b6c18
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
left: 42vw;
height: 30%;" src='assets/balls.svg'>
</pin-root>
<script>
$(document).foundation();
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/service-worker.js').then(function (registration) {
console.log('Service Worker registered');
}).catch(function (err) {
console.log('Service Worker registration failed: ', err);
});
}
</script>
</body>
<script>
$(document).foundation();
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/service-worker.js').then(function (registration) {
console.log('Service Worker registered');
}).catch(function (err) {
console.log('Service Worker registration failed: ', err);
});
}
</script>

</html>

0 comments on commit a1b6c18

Please sign in to comment.