Skip to content

Conversation

adrianba
Copy link
Contributor

No description provided.

@adrianba adrianba merged commit 41f8151 into w3c:gh-pages Apr 28, 2016
@adrianba adrianba deleted the fix-items branch April 28, 2016 22:13
If <code>details</code> does not contain a sequence of <code>items</code> with length greater
than zero, then <a>throw</a> a <a><code>TypeError</code></a>.
</li>
<li>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't this be replaced with a check for the presence of a total value or is that done elsewhere? i.e.

<li>
   If <code>details</code> does not contain a value for <code>total</code> and that value is not 
  a <code>PaymentItem</code> then <a>throw</a> a <a><code>TypeError</code</a>.
</li>

or similar

Copy link
Collaborator

Choose a reason for hiding this comment

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

I see you have done that in #168

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants