error = (title, text = '', links = '') -> text = """

#{text}

""" if text links = """""" if links """

#{title}

#{text}#{links}
""" back = 'Go back' app.templates.notFoundPage = -> error """ Oops, that page doesn't exist. """, """ It may be missing from the source documentation or this could be a bug. """, back app.templates.pageLoadError = -> error """ Oops, that page failed to load. """, """ It may be missing from the server (try reloading the app) or you could be offline.
If you keep seeing this, you're likely behind a proxy or firewall which blocks cross-domain requests. """, """ #{back} · Reload · Retry """ app.templates.bootError = -> error """ Oops, the app failed to load. """, """ Check your Internet connection and try reloading.
If you keep seeing this, you're likely behind a proxy or firewall that blocks cross-domain requests. """ app.templates.offlineError = -> error """ Oops, the database failed to load. """, """ DevDocs requires IndexedDB to cache documentations for offline access.
Unfortunately IndexedDB is either not supported in your browser, disabled, or buggy. """ app.templates.unsupportedBrowser = """

Your browser is unsupported, sorry.

DevDocs is an API documentation browser which supports the following browsers:

If you're unable to upgrade, I apologize. I decided to prioritize speed and new features over support for older browsers.

Note: if you're already using one of the browsers above, check your settings and add-ons. The app uses feature detection, not user agent sniffing.

— Thibaut @DevDocs

"""