-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
Remove PaymentCurrencyAmount dictionary from MDN #9736
Conversation
Preview URLsFlawsURL:
External URLsURL:
|
Same question for this one. Great job on the dictionary inclusion, but can/should we retain any example code from the deleted docs? |
I don't think it's particularly valuable (slight pun intended) to include either of the examples on the deleted docs. The description for the properties of the |
Fair enough. This was just a prompt to ensure that you'd considered the examples, not that I thought they had to be copied :-) |
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.
Thanks very much. Merging
@@ -19,7 +19,9 @@ The {{domxref("PaymentItem")}} dictionary is used by the [Payment Request API](/ | |||
## Properties | |||
|
|||
- {{domxref("PaymentItem.amount", "amount")}} {{securecontext_inline}} | |||
- : A {{domxref("PaymentCurrencyAmount")}} object describing the monetary value of the item. | |||
- : An object describing the monetary value of the item. This object includes the following fields: |
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.
I see a mix of terminology across PRs. I think "fields" here should be "properties".
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.
Ah that's my bad -- would you be willing to send a PR to update the wording for consistency? I'll happily review and merge them right away!
This PR removes the documentation for the
PaymentCurrencyAmount
dictionary and folds its contents into the documentation for thePaymentItem
dictionary. Correlates with its removal in BCD, see mdn/browser-compat-data#12794.