See also:
- The
collectTypes()
method from theMagento_Braintree
'scc-form.js
can be simplified from 8 lines to 1 - The
collectTypes()
method from theMagento_BraintreeTwo
'svalidator.js
can be simplified from 8 lines to 1 - The
collectTypes()
method is duplicated in theMagento_Braintree
's cc-form.js andMagento_BraintreeTwo
's validator.js