Skip to content
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

Merged
merged 1 commit into from
Aug 15, 2017
Merged

Define generalized PMI validator #44

merged 1 commit into from
Aug 15, 2017

Conversation

marcoscaceres
Copy link
Member

@marcoscaceres marcoscaceres commented Aug 10, 2017

@marcoscaceres marcoscaceres force-pushed the validate branch 2 times, most recently from 2b84075 to 97fcb88 Compare August 10, 2017 05:01
@marcoscaceres marcoscaceres requested a review from domenic August 14, 2017 05:59
Copy link
Collaborator

@domenic domenic left a 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>.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Collaborator

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.

Copy link
Member Author

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.

@marcoscaceres marcoscaceres merged commit 9af75d0 into gh-pages Aug 15, 2017
@marcoscaceres marcoscaceres deleted the validate branch August 15, 2017 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants