Skip to content

Commit

Permalink
Update to v4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rchrd2 committed Dec 26, 2018
1 parent 49379e6 commit 52883fc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 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 = "4.0.0-beta";
BookReader.version = "4.0.0";

// Mode constants
BookReader.constMode1up = 1;
Expand Down
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# 4.0.0-beta
V4 was driven by updating BookReader to work inline on the archive.org details page. This required code refactoring (eg: changing ids to classes), and also updating the design so it integrates well with the details page.
# 4.0.0
V4 was driven by updating BookReader to work inline on the archive.org details page. This required code refactoring (eg: changing ids to classes), and also updating the design so it integrates well within the details page theatre section.

- BookReader selectors made relative to BookReader. This means it shouldn't interfere with parent page, and also more than one BookReader instance can be on the page.
- CSS converted to SASS and refactored.
- New design with full-screen support.
- URL plugin is extended to support replaceState, and also configure which params are reflected into the URL fragment.
- WIP JavaScript code is formatted with 2 spaces instead of 4
- In transition: JavaScript code is formatted with 2 spaces instead of 4

# 3.2.1
- Fix so initParams normalizes params.page to params.index, to prevent complexity of priority of page versus index.
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": "4.0.0-beta",
"version": "4.0.0",
"description": "The Internet Archive BookReader.",
"repository": {
"type": "git",
Expand Down

0 comments on commit 52883fc

Please sign in to comment.