3.0.2
3.0.2
In the process of upgrading IA, to use the new BookReader API, more changes/fixes were made.
- Separate default options into BookReader.defaultOptions. Also add BookReader.optionOverrides. These allow clients which use Internet Archive's JSIA endpoint (see demo-ia-plato.html) to have hooks into changing options. Also update plugins, to extend defaultOptions instead of modifying options in setup functions.
- Add BookReader.version, which helps IA support older versions in the JSIA endpoint (eg https://archive.org/bookreader/BookReaderJSLocate.php?id=theworksofplato01platiala&subPrefix=theworksofplato01platiala).
- Bring some IA-specific code into plugin.chapters.js
- Add more options that were previously missed (protected, olHost, subPrefix, bookPath, zip, imageFormat, bookId). These are mostly for plugins. If you intend on using any of the plugins, you can see the full config options there.