소스 검색

Add fallback namespace to app cache manifest

Ref #276
Thibaut 10 년 전
부모
커밋
a0ea89ff45
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      assets/javascripts/templates/pages/offline_tmpl.coffee
  2. 1 0
      views/manifest.erb

+ 1 - 2
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 <a href="http://devdocs.io">devdocs.io</a>, and everything will work as if you were online (provided you installed all the documentations you want to use beforehand).<br>
-        Note that loading any page other than <a href="http://devdocs.io">devdocs.io</a> directly won't work (due to limitations in AppCache). """
+    """ Yes! Even offline, you can open a new tab, go to <a href="http://devdocs.io">devdocs.io</a>, 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

+ 1 - 0
views/manifest.erb

@@ -23,3 +23,4 @@ NETWORK:
 *
 
 FALLBACK:
+/ /