- From: Jake Archibald <notifications@github.com>
- Date: Mon, 20 Nov 2017 15:43:05 +0000 (UTC)
- To: w3c/payment-handler <payment-handler@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 20 November 2017 15:43:33 UTC
```js navigator.serviceWorker.register('/sw.js'); const registration = await navigator.serviceWorker.ready; await addInstruments(registration); ``` …should be fine. Btw, `const { registration } = …` is performing destructuring, so the result will be `undefined`. -- 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/issues/223#issuecomment-345734493
Received on Monday, 20 November 2017 15:43:33 UTC