Skip to content

Commit

Permalink
Copy releate 0.23.2 to the dist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Mar 19, 2018
1 parent 0a55a72 commit 12ae6c4
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 30 deletions.
57 changes: 29 additions & 28 deletions dist/dwv.js
Original file line number Diff line number Diff line change
Expand Up @@ -1024,13 +1024,13 @@ dwv.App = function ()
};

/**
* Handle loader change.
* Handle loader change. Will activate the loader using
* the value property of the 'event.currentTarget'.
* @param {Object} event The change event.
*/
this.onChangeLoader = function (/*event*/)
this.onChangeLoader = function (event)
{
// called from an HTML select, use its value
loadbox.displayLoader( this.value );
loadbox.displayLoader( event.currentTarget.value );
};

/**
Expand Down Expand Up @@ -1085,53 +1085,53 @@ dwv.App = function ()
};

/**
* Handle colour map change.
* Handle colour map change. Will activate the tool using
* the value property of the 'event.currentTarget'.
* @param {Object} event The change event.
*/
this.onChangeColourMap = function (/*event*/)
this.onChangeColourMap = function (event)
{
// called from an HTML select, use its value
viewController.setColourMapFromName(this.value);
viewController.setColourMapFromName( event.currentTarget.value );
};

/**
* Handle window/level preset change.
* Handle window/level preset change. Will activate the preset using
* the value property of the 'event.currentTarget'.
* @param {Object} event The change event.
*/
this.onChangeWindowLevelPreset = function (/*event*/)
this.onChangeWindowLevelPreset = function (event)
{
// value should be the name of the preset
viewController.setWindowLevelPreset( this.value );
viewController.setWindowLevelPreset( event.currentTarget.value );
};

/**
* Handle tool change.
* Handle tool change. Will activate the tool using
* the value property of the 'event.currentTarget'.
* @param {Object} event The change event.
*/
this.onChangeTool = function (/*event*/)
this.onChangeTool = function (event)
{
// called from an HTML select, use its value
toolboxController.setSelectedTool(this.value);
toolboxController.setSelectedTool( event.currentTarget.value );
};

/**
* Handle shape change.
* Handle shape change. Will activate the shape using
* the value property of the 'event.currentTarget'.
* @param {Object} event The change event.
*/
this.onChangeShape = function (/*event*/)
this.onChangeShape = function (event)
{
// called from an HTML select, use its value
toolboxController.setSelectedShape(this.value);
toolboxController.setSelectedShape( event.currentTarget.value );
};

/**
* Handle filter change.
* Handle filter change. Will activate the filter using
* the value property of the 'event.currentTarget'.
* @param {Object} event The change event.
*/
this.onChangeFilter = function (/*event*/)
this.onChangeFilter = function (event)
{
// called from an HTML select, use its value
toolboxController.setSelectedFilter(this.value);
toolboxController.setSelectedFilter( event.currentTarget.value );
};

/**
Expand All @@ -1144,13 +1144,14 @@ dwv.App = function ()
};

/**
* Handle line colour change.
* Handle line colour change. Will activate the colour using
* the value property of the 'event.currentTarget'.
* @param {Object} event The change event.
*/
this.onChangeLineColour = function (/*event*/)
this.onChangeLineColour = function (event)
{
// called from an HTML select, use its value
toolboxController.setLineColour(this.value);
toolboxController.setLineColour( event.currentTarget.value );
};

/**
Expand Down Expand Up @@ -3039,7 +3040,7 @@ dwv.dicom = dwv.dicom || {};
* Get the version of the library.
* @return {String} The version of the library.
*/
dwv.getVersion = function () { return "0.23.1"; };
dwv.getVersion = function () { return "0.23.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.

0 comments on commit 12ae6c4

Please sign in to comment.