-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update jquery payment js library #608
Update jquery payment js library #608
Conversation
This looks good and reasonable to me, I'm 👍 Someone else might want to complain about the switch to coffee though? I usually include .min's on my vendored assets but don't have strong opinions either way. |
I don't feel strongly about the A short comment in Either way 👍 |
For when I later compile release notes: This was originally introduced here 5c400ac (7 Feb 2013) so the existing stripe.js version would have been |
I also find it a bit odd to have a vendored asset in coffeescript, usually use the minified version. |
I also don't like to have vendored assets as Coffescript file. I would add the unminified JS version. AFAIK sprockets does not skip already minified files and it is great to have the readable version for debugging. |
@tvdeyen that sounds great to me |
I could certainly change it to whichever one you prefer. The coffee script On Wed, Dec 23, 2015 at 8:00 PM, Thomas von Deyen notifications@github.com
|
* Update old version from 3 Sep 2013 to the latest release. * includes lots of bug & browser compatibility fixes * Specify type="tel" for numerical input fields, which fixes non-working card expiry field on [Samsung android phones](http://github.com/stripe/jquery.payment/issues/112) Follows library [recommendations](https://github.com/stripe/jquery.payment#mobile-recommendations)
…plete. * As per the autocomplete recommendations at: https://github.com/stripe/jquery.payment#autocomplete-recommendations
Should be good now. |
Ah. A proper diff 🤗 Thanks @mtomov |
👍 |
Update jquery payment js library
Thanks Martin 🎉 💳 |
👍 |
Update old version from 3 Sep 2013 to the latest release.
includes lots of bug & browser compatibility fixes
Specify type="tel" for numerical input fields, which fixes
non-working card expiry field on Samsung android phones
Follows library recommendations
Second commit is a bit controversial, so you might consider excluding it.
This _gateway is anyhow overridden by the gateways, so the autocomplete might not matter;
On the other hand, the addition of the
type=tel
attribute is indeed important to fix annoying bugs on Samsung android phones, which occur without it (even with the latest version of the jquery.payment library).