History

Tweak offline page Q&A

Thibaut committed 11 years ago

Commit 3dd07d21 parent 16486ff1 file · +2 −2Browse files

Unified · Split

assets/javascripts/templates/pages/offline_tmpl.coffee+2−2
@@ -23,7 +23,7 @@ app.templates.offlinePage = (docs) -> """ · 22 unmodified lines
2323 <h1 class="_lined-heading">Questions & Answers</h1>
2424 <dl>
2525 <dt>How does this work?
26− <dd>Each page is cached as a key-value pair in <a href="https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API">IndexedDB</a> (downloaded from a single JSON file).<br>
26+ <dd>Each page is cached as a key-value pair in <a href="https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API">IndexedDB</a> (downloaded from a single file).<br>
2727 The app also uses <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache">AppCache</a> and <a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API">localStorage</a> to cache the assets and index files.
2828 <dt>Can I close the tab/browser?
2929 <dd>#{canICloseTheTab()}
@@ -44,7 +44,7 @@ canICloseTheTab = -> · 14 unmodified lines
4444 """ 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>
4545 Note that loading any page other than <a href="http://devdocs.io">devdocs.io</a> directly won't work (due to limitations in AppCache). """
4646 else
47− """ No. Because AppCache is unavailable in your browser (or has been disabled), loading <a href="http://devdocs.io">devdocs.io</a> offline won't work.<br>
47+ """ No. AppCache isn't available in your browser (or is disabled) so loading <a href="http://devdocs.io">devdocs.io</a> offline won't work.<br>
4848 The current tab will continue to work, though (provided you installed all the documentations you want to use beforehand). """
4949
5050 app.templates.offlineDoc = (doc, status) ->