Masked Input Plugin RC3
I found a few more issues that needed hashing out for the Masked Input Plugin for jQuery. This release also changes the api per the recommendations of the jQuery community. The reason for the change is to blend with the jQuery library. The main function was changed to a verb since it is an action and the other public method was moved into a namespace.
Here are the changes for this release:
- BREAKING CHANGE: The mask function has been changed to more closely match the style of the jQuery library. Instead of calling .maskedinput(), you will need to call .mask(). Additionally the .AddMaskDefinition() has been moved to a namespace and renamed. Instead, you should make a call to .mask.addPlaceholder().
- Fixed a bug where the buffer was wiped when text was selected and a non-typeable character was pressed.
- Fixed a bug where the buffer was not cleared, but the text was when pressing the escape key.
- More code cleanup.