Skip to content

Commit

Permalink
v0.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Lakenen committed Oct 20, 2014
1 parent f1c500d commit b484bae
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Viewer.js uses [semantic versioning](http://semver.org/) for its version numbers.

* **0.10.1**
* Fix `autoloadFirstPage` option when conversion is not complete
* **0.10.0**
* Add support for rendering text-based (non-paged) files
* **0.9.0**
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "viewer",
"version": "0.10.0",
"version": "0.10.1",
"homepage": "https://github.com/box/viewer.js",
"authors": [
"Cameron Lakenen <lakenen@box.com>",
Expand Down
2 changes: 1 addition & 1 deletion dist/crocodoc.viewer.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Crocodoc Viewer - v0.10.0 | (c) 2014 Box */
/*! Crocodoc Viewer - v0.10.1 | (c) 2014 Box */

.crocodoc-viewer {
padding:0;
Expand Down
5 changes: 3 additions & 2 deletions dist/crocodoc.viewer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Crocodoc Viewer - v0.10.0 | (c) 2014 Box */
/*! Crocodoc Viewer - v0.10.1 | (c) 2014 Box */

(function (window) {
/*global jQuery*/
Expand Down Expand Up @@ -2627,7 +2627,8 @@ Crocodoc.addComponent('controller-paged', function (scope) {
* @returns {string} The page status
*/
function getPageStatus(pageIndex) {
if (pageIndex === 0 || config.conversionIsComplete) {
if (config.conversionIsComplete ||
(pageIndex === 0 && config.autoloadFirstPage)) {
return PAGE_STATUS_NOT_LOADED;
}
return PAGE_STATUS_CONVERTING;
Expand Down
2 changes: 1 addition & 1 deletion dist/crocodoc.viewer.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/crocodoc.viewer.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "viewer",
"version": "0.10.0",
"version": "0.10.1",
"description": "A viewer for documents converted with the Box View API",
"author": "Cameron Lakenen <lakenen@box.com>",
"contributors": [
Expand Down

0 comments on commit b484bae

Please sign in to comment.