Skip to content

Commit

Permalink
v0.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Lakenen committed Jun 20, 2014
1 parent 96ca3d4 commit 4cb7fed
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 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.5.4**
* Fix [#70](https://github.com/box/viewer.js/issues/70) - IE 11 crashes when unloading pages
* **0.5.3**
* Fix IE9 issue with box-sizing: initial
* LazyLader: only load visible pages initially to improve initial load performance
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.5.3",
"version": "0.5.4",
"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.5.3 | (c) 2014 Box */
/*! Crocodoc Viewer - v0.5.4 | (c) 2014 Box */

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

var Crocodoc = (function ($) {

Expand Down Expand Up @@ -4581,9 +4581,11 @@ Crocodoc.addComponent('page-svg', function (scope) {
svgLoaded = false,
viewerConfig = scope.getConfig(),
removeOnUnload = browser.mobile || browser.ielt10,
embedStrategy = browser.ie ? EMBED_STRATEGY_DATA_URL_IMG :
browser.firefox ? EMBED_STRATEGY_DATA_URL_IMG :
browser.safari ? EMBED_STRATEGY_IFRAME_INNERHTML :
// * IE 9-10 and firefox perform better with <img> elements
// * IE 11 crashes when using img elements for some reason
// * Everything else is happy with iframe + innerhtml
embedStrategy = browser.ielt11 || browser.firefox ?
EMBED_STRATEGY_DATA_URL_IMG :
EMBED_STRATEGY_IFRAME_INNERHTML;

/**
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.5.3",
"version": "0.5.4",
"description": "A viewer for documents converted with the Box View API",
"author": "Cameron Lakenen <lakenen@box.com>",
"contributors": [
Expand Down

0 comments on commit 4cb7fed

Please sign in to comment.