<commit_before># Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [2.2.4] - 2018-05-04
### Removed
- Removed old fix for clearing the canvas after swaping between 2 colorSpaces (issue #151)

## [2.2.3] - 2018-05-02
### Fixed
- Fixed multiple images with different colorSpaces not being rendered correctly (issue #151) 
- Fixed memory leak in drawCompositeImage.syncedViewports (issue #179)
- Fixed all the build warnings in the test folder

### Added
- Added unit tests for displayed area feature
- Added 'renderToCanvas' to allow user to directly draw an image to an existent canvas

## [2.2.2] - 2018-04-23
### Added
- Added "dist" folder to published package.

## [2.2.1] - 2018-04-23
### Fixed
- Fixed viewport scale is NaN when row/col pixel spacing is not present (Issue #262).

## [2.2.0] - 2018-04-11
### Added
- Added and exported EVENTS constants for all cornerstone events (thanks  @medihack)
- Added example for integration with React to the docs https://docs.cornerstonejs.org/integration.html
- Added compute VOI window width/center if not present (thanks @adreyfus)<commit_msg>Minor updates<commit_after># Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [2.2.6] - 2018-09-24
### Added
- Broadcast `ELEMENT_DISABLED` event when disabling a new element on the `events` object

### Changed
- Broadcast `ELEMENT_DISABLED` event off `events` object instead of per element

## [2.2.5] - 2018-09-24
### Added
- Broadcast `ELEMENT_ENABLED` event when enabling a new element
- enabledElements now have an associated unique id (`enabledElement.uuid`)

## [2.2.4] - 2018-05-04
### Removed
- Removed old fix for clearing the canvas after swaping between 2 colorSpaces (issue #151)

## [2.2.3] - 2018-05-02
### Fixed
- Fixed multiple images with different colorSpaces not being rendered correctly (issue #151) 
- Fixed memory leak in drawCompositeImage.syncedViewports (issue #179)
- Fixed all the build warnings in the test folder

### Added
- Added unit tests for displayed area feature
- Added 'renderToCanvas' to allow user to directly draw an image to an existent canvas

## [2.2.2] - 2018-04-23
### Added
- Added "dist" folder to published package.

## [2.2.1] - 2018-04-23
### Fixed
- Fixed viewport scale is NaN when row/col pixel spacing is not present (Issue #262).

## [2.2.0] - 2018-04-11
### Added
- Added and exported EVENTS constants for all cornerstone events (thanks  @medihack)
- Added example for integration with React to the docs https://docs.cornerstonejs.org/integration.html
- Added compute VOI window width/center if not present (thanks @adreyfus)
{'fraction_non_alphanumeric': 0.10950621430970776, 'fraction_numerical': 0.05710446758481693, 'mean_word_length': 4.013468013468014, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6832685', 'n_tokens_mistral': 1050, 'n_tokens_neox': 906, 'n_words': 363}