v2.0.0
- Reconception of the majority of the code.
- Uploaded the project on GitHub.
- Removed
data-*
attributes for styling, now using classes (refer to style.css file to see new classes used). - Renamed callBack → callback, which is now a reference to a function (with
returnObj
passed as first argument), not an executable string (noteval
anymore!). - Renamed 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.
NB: These changes break compatibility with v1.x. Please read the new documentation for further details.