Unified · Split
| @@ -42,7 +42,8 @@ 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). """ | 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> |
| 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). """ | ||
| 46 | else if app.mozApp | 47 | else if app.mozApp |
| 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). """ | 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). """ |
| 48 | else | 49 | else |
| @@ -20,8 +20,6 @@ CACHE: · 19 unmodified lines | |||
| 20 | <%= doc_index_urls.join "\n" %> | 20 | <%= doc_index_urls.join "\n" %> |
| 21 | 21 | ||
| 22 | NETWORK: | 22 | NETWORK: |
| 23 | /s/ | ||
| 24 | * | 23 | * |
| 25 | 24 | ||
| 26 | FALLBACK: | 25 | FALLBACK: |
| 27 | / / | ||