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

+1 to avoid singletons as well.

I realize that `navigator.payments.request()` in my previous example is really a factory because of absence of `new`.  I am OK with `new navigator.payments.request()` syntax as well.

---
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-218214789

Received on Tuesday, 10 May 2016 16:33:53 UTC