Skip to content

Commit

Permalink
Create empty service worker
Browse files Browse the repository at this point in the history
  • Loading branch information
hmlON committed Apr 10, 2017
1 parent a7b8a3c commit 23284dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@
$(document).on('turbolinks:load', function() {
$(".alert").fadeIn(0).delay(5000).fadeOut(500);
});

navigator.serviceWorker && navigator.serviceWorker.register('/service_worker.js')
Empty file added public/service_worker.js
Empty file.

0 comments on commit 23284dd

Please sign in to comment.