Re: [w3c/browser-payment-api] Use navigator.payments singleton, factory method, or PaymentRequest constructor (#16)

Couldn't you use static methods of the `PaymentRequest` constructor if you wanted to create new non-instance methods in future?  But regardless the factory seems fine.  The web platform has pretty much no consensus or consistency in this regard so there isn't a strong convention, imho.

---
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/16#issuecomment-207160106

Received on Friday, 8 April 2016 01:19:18 UTC