Add fallback namespace to app cache manifest

Ref #276
pull/281/head
Thibaut 9 years ago
parent b69adb635e
commit aad0063653

@ -42,8 +42,7 @@ app.templates.offlinePage = (docs) -> """
canICloseTheTab = -> canICloseTheTab = ->
if app.AppCache.isEnabled() 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> """ 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). """
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 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). """ """ 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 else

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

Loading…
Cancel
Save