plentz / jquery-maskmoney

jQuery plugin to mask data entry in the input text in the form of money (currency).
https://plentz.github.io/jquery-maskmoney/
MIT License
964 stars 505 forks source link

making this guy a better citizen #26

Closed plentz closed 11 years ago

plentz commented 12 years ago

these methods need to become private and not extenal: unmaskMoney mask setCursorPosition getInputSelection

they will become this .maskMoney('unmask') .maskMoney('mask') the other 2 methods will be vanished.

following this guidelines: http://docs.jquery.com/Plugins/Authoring#Namespacing http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery#Plug_me:_Writing_your_own_plugins

this will make maskMoney a better citizen(mainly with @digitalBush's jquery.maskedinput)

plentz commented 12 years ago

note: remember to update the docs and examples.