Ref #276
Unified · Split
| @@ -42,8 +42,7 @@ app.templates.offlinePage = (docs) -> """ · 41 unmodified lines | |||
| 42 | 42 | ||
| 43 | canICloseTheTab = -> | 43 | canICloseTheTab = -> |
| 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.mozApp | 46 | 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 | else | 48 | else |
| @@ -20,6 +20,8 @@ CACHE: · 19 unmodified lines | |||
| 20 | <%= doc_index_urls.join "\n" %> | 20 | <%= doc_index_urls.join "\n" %> |
| 21 | 21 | ||
| 22 | NETWORK: | 22 | NETWORK: |
| 23 | /s/ | ||
| 23 | * | 24 | * |
| 24 | 25 | ||
| 25 | FALLBACK: | 26 | FALLBACK: |
| 27 | / / | ||