stripe-archive / jquery.payment

[DEPRECATED] A general purpose library for building credit card forms, validating inputs and formatting numbers.
MIT License
3.53k stars 686 forks source link

Namespace jQuery.on calls #263

Closed davidmerrique closed 7 years ago

davidmerrique commented 7 years ago

Summary

Place all events into a .payment namespace.

Motivation

This change will allow us to unbind $.payment without breaking any other events as described in #129

$('elem').off('.payment');

Testing

All existing tests pass.

jenan-stripe commented 7 years ago

Hi @davidmerrique -- this is a reasonable change, as discussed in #129, but we're not adding new features at this time. Sorry!