Re: [w3c/browser-payment-api] complete() should take a string argument not boolean (#17)

-1 to using a boolean param here. See: http://ariya.ofilabs.com/2011/08/hall-of-api-shame-boolean-trap.html

Alternatives are options objects with keys that reflect the parameter names or multiple functions `.succeed`/`.fail`.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/browser-payment-api/issues/17#issuecomment-206509417

Received on Wednesday, 6 April 2016 18:44:44 UTC