-
Notifications
You must be signed in to change notification settings - Fork 20
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
Define generalized PMI validator #44
Conversation
2b84075
to
97fcb88
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with nits
index.html
Outdated
</p> | ||
<ol> | ||
<li>Let <var>url</var> be the result of running the <a>basic URL | ||
parser</a> with <var>pmi</var>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
basic URL parser link isn't working in https://rawgit.com/w3c/payment-method-id/97fcb88628ab8a34c25d89b1caf435abf12d1e47/index.html
index.html
Outdated
</h3> | ||
<p> | ||
The steps to <dfn>validate a payment method identifier</dfn> with a | ||
<var>pmi</var> string are given by the following algorithm. It |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: both here and in other algorithms you seem to put the type after the variable name, but that's pretty unusual in web specs. "string pmi" and "URL url" would be more expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, will fix here and then update globally. The other ones are badly written also, so will clean them up to match.
97fcb88
to
ff09155
Compare
Needed for w3c/payment-request#464
Preview | Diff