<commit_before># Changelog of AMD versions #


## Version 1 ##

### 1.0 ###

*Released on 2012-08-07*

- This is the first version of the code, which includes the 3 objects `dialogSettings`, `dialog()` and `returnObj`.
- The code integrates the default stylesheet. The semitransparent background of the dialog doesn't work with IE less than 9.
- When pressing enter on the keyboard the script will emulate the ok or continue button click, and the esc key will emulate the cancel button click if the cancel button is shown.

### 1.1 ###

*Released on 2012-13-09*

- Fixed a problem with the xhtml syntax. Now the function works good both in html and xhtml, automatically.


## Version 2 ##

### 2.0.0 ###

*Released on 2015-10-18*

- Reconception of the majority of the code
- Uploaded the project on GitHub
- ^ Removed `data-*` attributes for styling → using classes (refer to style.css file to see new classes used)
- ^ callBack → callback, is now a reference to a function (with returnObj passed as first argument), not an executable string (not eval anymore!)
- ^ returnObj.boolean → returnObj.action (same behavior)
- ^ title and content can't contain HTML anymore. However LF characters and whitespaces are preserved.
- Adding to the DOM only the visible elements (removed display: none; hack)
- Fixed a bug with the `keyup` event listener

^ Caution! These changes break the compatibility with older versions. Please read the new documentation for further details.

### 2.0.1 ###

*Released on 2017-02-18*

- Minor bugfixes<commit_msg>Reversed order in changelog.md (from newest to oldest versions).<commit_after># Changelog of AMD versions #

## Version 2 ##

### 2.0.1 ###

*Released on 2017-02-18*

- Minor bugfixes.

### 2.0.0 ###

*Released on 2015-10-18*

- Reconception of the majority of the code.
- Uploaded the project on GitHub.
- ^ Removed `data-*` attributes for styling → using classes (refer to style.css file to see new classes used).
- ^ callBack → callback, is now a reference to a function (with returnObj passed as first argument), not an executable string (not eval anymore!).
- ^ returnObj.boolean → returnObj.action (same behavior).
- ^ title and content can't contain HTML anymore. However LF characters and whitespaces are preserved.
- Adding to the DOM only the visible elements (removed display: none; hack).
- Fixed a bug with the `keyup` event listener.

^ Caution! These changes break the compatibility with older versions. Please read the new documentation for further details.


## Version 1 ##

### 1.1 ###

*Released on 2012-13-09*

- Fixed a problem with the xhtml syntax. Now the function works good both in html and xhtml, automatically.

### 1.0 ###

*Released on 2012-08-07*

- This is the first version of the code, which includes the 3 objects `dialogSettings`, `dialog()` and `returnObj`.
- The code integrates the default stylesheet. The semitransparent background of the dialog doesn't work with IE less than 9.
- When pressing enter on the keyboard the script will emulate the ok or continue button click, and the esc key will emulate the cancel button click if the cancel button is shown.
{'fraction_non_alphanumeric': 0.08598726114649681, 'fraction_numerical': 0.02929936305732484, 'mean_word_length': 3.938679245283019, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3160758', 'n_tokens_mistral': 935, 'n_tokens_neox': 851, 'n_words': 449}