From a0ea89ff45a0ff73e5eab980de119982d1ae2b21 Mon Sep 17 00:00:00 2001 From: Thibaut Date: Mon, 12 Oct 2015 11:32:23 -0400 Subject: [PATCH] Add fallback namespace to app cache manifest Ref #276 --- assets/javascripts/templates/pages/offline_tmpl.coffee | 3 +-- views/manifest.erb | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/javascripts/templates/pages/offline_tmpl.coffee b/assets/javascripts/templates/pages/offline_tmpl.coffee index b862e1e7..54a6bfa7 100644 --- a/assets/javascripts/templates/pages/offline_tmpl.coffee +++ b/assets/javascripts/templates/pages/offline_tmpl.coffee @@ -42,8 +42,7 @@ app.templates.offlinePage = (docs) -> """ canICloseTheTab = -> if app.AppCache.isEnabled() - """ Yes! Even offline, you can open a new tab, go to devdocs.io, and everything will work as if you were online (provided you installed all the documentations you want to use beforehand).
- Note that loading any page other than devdocs.io directly won't work (due to limitations in AppCache). """ + """ Yes! Even offline, you can open a new tab, go to devdocs.io, and everything will work as if you were online (provided you installed all the documentations you want to use beforehand). """ else if app.mozApp """ Yes! Even offline, you can open the app and everything will work as if you were online (provided you installed all the documentations you want to use beforehand). """ else diff --git a/views/manifest.erb b/views/manifest.erb index 9ac130d8..6de01500 100644 --- a/views/manifest.erb +++ b/views/manifest.erb @@ -23,3 +23,4 @@ NETWORK: * FALLBACK: +/ /