<commit_before># Changelog

## 1.3.4 (Jun 1, 2019)

- Escape all strings that use in HTML for better security (#269).
- Fix the missing fide out transition when hide the viewer (#275).
- Decode image name when it comes from URL (#282).

## 1.3.3 (Apr 6, 2019)

- Fix unexpected modal exiting behavior when the mouse is pressed (#255).
- Abort image downloading when cancel viewing for better performance.

## 1.3.2 (Jan 24, 2019)

- Fix `Document not active` error when calling the `exit` method.
- Improve wheel event listening for better performance (#102).

## 1.3.1 (Dec 9, 2018)

- Emulate click (single tap) and double click (double tap) in touch devices to support backdrop and image zooming (#210).
- Ignore pointer events when not the primary button was pressed (#221).

## 1.3.0 (Oct 25, 2018)

- Add a new option: `className` (#209).
- Fix wrong click action when the target image is ignored by the `filter` option (#211)

## 1.2.1 (Oct 20, 2018)

- Improve viewer instance storage to avoid side effect.
- Fix parameter error of `Object.assign` in iOS devices.

## 1.2.0 (Jul 15, 2018)

- Add 2 new options: `toggleOnDblclick` (#173) and `initialViewIndex` (#183).
- Enhance the `title` option to support to customize title content (#54, #185).<commit_msg>docs: update<commit_after># Changelog

## next

- Improve escaping function to avoid to escape HTML entities repeatedly.

## 1.3.4 (Jun 1, 2019)

- Escape all strings that use in HTML for better security (#269).
- Fix the missing fade out transition when hiding the viewer (#275).
- Decode image name when it comes from URL (#282).

## 1.3.3 (Apr 6, 2019)

- Fix unexpected modal exiting behavior when the mouse is pressed (#255).
- Abort image downloading when cancel viewing for better performance.

## 1.3.2 (Jan 24, 2019)

- Fix `Document not active` error when calling the `exit` method.
- Improve wheel event listening for better performance (#102).

## 1.3.1 (Dec 9, 2018)

- Emulate click (single tap) and double click (double tap) in touch devices to support backdrop and image zooming (#210).
- Ignore pointer events when not the primary button was pressed (#221).

## 1.3.0 (Oct 25, 2018)

- Add a new option: `className` (#209).
- Fix wrong click action when the target image is ignored by the `filter` option (#211)

## 1.2.1 (Oct 20, 2018)

- Improve viewer instance storage to avoid side effect.
- Fix parameter error of `Object.assign` in iOS devices.

## 1.2.0 (Jul 15, 2018)

- Add 2 new options: `toggleOnDblclick` (#173) and `initialViewIndex` (#183).
- Enhance the `title` option to support to customize title content (#54, #185).
{'fraction_non_alphanumeric': 0.11115355233002291, 'fraction_numerical': 0.07563025210084033, 'mean_word_length': 3.753176043557169, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4457464', 'n_tokens_mistral': 956, 'n_tokens_neox': 762, 'n_words': 385}