- From: Jinho Bang <notifications@github.com>
- Date: Fri, 23 Jun 2017 15:56:44 -0700
- To: w3c/payment-handler <payment-handler@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 23 June 2017 22:57:42 UTC
This PR is initiated from #180. We should change the patterns of returning promise to more readable patterns as follows: BEFORE Let p be a new promise. Run the following steps in parallel: Do something Resolve p return p AFTER Let p be a new promise. Return p and perform the remaining steps in parallel: Do something Resolve p FYI, the patterns are already widely used in PaymentRequest API spec. You can view, comment on, or merge this pull request online at: https://github.com/w3c/payment-handler/pull/186 -- Commit Summary -- * Change the patterns of returning promise to more readable patterns. -- File Changes -- M index.html (369) -- Patch Links -- https://github.com/w3c/payment-handler/pull/186.patch https://github.com/w3c/payment-handler/pull/186.diff -- 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/payment-handler/pull/186
Received on Friday, 23 June 2017 22:57:42 UTC