History

Add fallback namespace to app cache manifest

Ref #276

Thibaut committed 11 years ago

Commit a0ea89f1 parent 73033172 files · +2 −2Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/pages/offline_tmpl.coffee +1 −2
  2. views/manifest.erb +1 −0
assets/javascripts/templates/pages/offline_tmpl.coffee+1−2
@@ -42,8 +42,7 @@ app.templates.offlinePage = (docs) -> """ · 41 unmodified lines
42 42
43canICloseTheTab = ->43canICloseTheTab = ->
44 if app.AppCache.isEnabled()44 if app.AppCache.isEnabled()
45 """ 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>45 """ 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). """
46 Note that loading any page other than <a href="http://devdocs.io">devdocs.io</a> directly won't work (due to limitations in AppCache). """
47 else if app.mozApp46 else if app.mozApp
48 """ 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). """47 """ 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). """
49 else48 else
views/manifest.erb+1−0
@@ -23,3 +23,4 @@ NETWORK: · 22 unmodified lines
23*23*
24 24
25FALLBACK:25FALLBACK:
26/ /