Skip to content

Commit

Permalink
v3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rchrd2 committed Jul 18, 2018
1 parent d71027e commit 1cd2f08
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BookReader/BookReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function BookReader(options) {
this.setup(options);
}

BookReader.version = "3.0.8";
BookReader.version = "3.2.0";

// Mode constants
BookReader.constMode1up = 1;
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 3.2.0
On Archive.org, we needed a way to pass in a default start page for books. These changes make that easier.

- Update the way bookreader inits from various params contexts
- Add `defaults` to the init options
- Update so that mode is only reflected on URL if user has made a change.
- Update to handle both params.index and params.page when provided in defaults. Seperate page parsing into separate method.

# 3.1.0
- Add new IFrame plugin to enable two-way communication between a BookReader inside an `<iframe>` and its parent window.
- Move the `paramsFromCurrent`, `paramsFromFragment`, and `fragmentFromParams` methods back into BookReader core and out of the URL Plugin. This change should be backwards-compatible with previous versions.
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bookreader",
"version": "3.1.0",
"version": "3.2.0",
"description": "The Internet Archive BookReader.",
"repository": {
"type": "git",
Expand Down

0 comments on commit 1cd2f08

Please sign in to comment.