Skip to content

Commit

Permalink
Merge branch 'v0.25'
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Oct 8, 2018
2 parents a9a2d12 + 9b46341 commit 9591239
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
7 changes: 4 additions & 3 deletions dist/dwv.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! dwv 0.25.1 2018-10-04 23:08:54 */
/*! dwv 0.25.2 2018-10-08 23:41:22 */
// Inspired from umdjs
// See https://github.com/umdjs/umd/blob/master/templates/returnExports.js
(function (root, factory) {
Expand Down Expand Up @@ -423,7 +423,8 @@ dwv.App = function ()
* @return {width, height} The width and height of the div.
*/
this.getLayerContainerSize = function () {
var div = document.getElementById(containerDivId);
var ldiv = self.getElement("layerContainer");
var div = ldiv.parentNode;
// remove the height of other elements of the container div
var height = div.offsetHeight;
var kids = div.children;
Expand Down Expand Up @@ -3598,7 +3599,7 @@ dwv.dicom = dwv.dicom || {};
* Get the version of the library.
* @return {String} The version of the library.
*/
dwv.getVersion = function () { return "0.25.1"; };
dwv.getVersion = function () { return "0.25.2"; };

/**
* Clean string: trim and remove ending.
Expand Down
4 changes: 2 additions & 2 deletions dist/dwv.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": "dwv",
"version": "0.25.1",
"version": "0.25.2",
"description": "DICOM Web Viewer.",
"keywords": [
"DICOM",
Expand Down
3 changes: 2 additions & 1 deletion src/app/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,8 @@ dwv.App = function ()
* @return {width, height} The width and height of the div.
*/
this.getLayerContainerSize = function () {
var div = document.getElementById(containerDivId);
var ldiv = self.getElement("layerContainer");
var div = ldiv.parentNode;
// remove the height of other elements of the container div
var height = div.offsetHeight;
var kids = div.children;
Expand Down
2 changes: 1 addition & 1 deletion src/dicom/dicomParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dwv.dicom = dwv.dicom || {};
* Get the version of the library.
* @return {String} The version of the library.
*/
dwv.getVersion = function () { return "0.25.1"; };
dwv.getVersion = function () { return "0.25.2"; };

/**
* Clean string: trim and remove ending.
Expand Down

0 comments on commit 9591239

Please sign in to comment.