aboutsummaryrefslogtreecommitdiff
path: root/views/index.jade
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-11-10 16:30:43 +0100
committerGitHub <noreply@github.com>2016-11-10 16:30:43 +0100
commita20a69e01d459e60eb5e0178ca394cd90d6992ac (patch)
treef6ff3dedc101b264da240bdc949fb276f8c1bb21 /views/index.jade
parentce8649602dadc350ba913991ac7975a1e01d58ed (diff)
parent462b2c88e85d07b212eece2a30ec69da1d6dce00 (diff)
Merge pull request #3 from nloomans/beta
added favorite analytics
Diffstat (limited to 'views/index.jade')
-rw-r--r--views/index.jade11
1 files changed, 1 insertions, 10 deletions
diff --git a/views/index.jade b/views/index.jade
index 31e9186..28d435b 100644
--- a/views/index.jade
+++ b/views/index.jade
@@ -50,14 +50,5 @@ block content
iframe(src='/hello', scrolling='no')#schedule
+block scripts
script(src='/javascripts/bundle.js')
- script.
- if ('serviceWorker' in navigator) {
- navigator.serviceWorker.register('/sw.js').then(function(registration) {
- // Registration was successful
- console.log('ServiceWorker registration successful with scope: ', registration.scope)
- }).catch(function(err) {
- // registration failed :(
- console.log('ServiceWorker registration failed: ', err)
- })
- }