فهرست منبع

Revert "Add fallback namespace to app cache manifest"

Thibaut 10 سال پیش
والد
کامیت
5ff15685ff
2فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  1. 2 1
      assets/javascripts/templates/pages/offline_tmpl.coffee
  2. 0 2
      views/manifest.erb

+ 2 - 1
assets/javascripts/templates/pages/offline_tmpl.coffee

@@ -42,7 +42,8 @@ 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). """
+    """ 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). """
   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

+ 0 - 2
views/manifest.erb

@@ -20,8 +20,6 @@ CACHE:
 <%= doc_index_urls.join "\n" %>
 
 NETWORK:
-/s/
 *
 
 FALLBACK:
-/ /