- From: John Mellor <notifications@github.com>
- Date: Mon, 15 Dec 2014 10:54:57 -0800
- To: w3c/push-api <push-api@noreply.github.com>
Received on Monday, 15 December 2014 18:55:49 UTC
The other SW APIs are less related to messaging though, so perhaps it's ok to be named differently? i.e. perhaps the following is actually fine?: ```js navigator.serviceWorker.register(...); navigator.serviceWorker.ready.then(registration -> { registration.pushManager.subscribe().then(...); }); ``` I suppose it does conflict a little with the `serviceWorkerRegistration.syncManager.register` API currently suggested for Background Sync in slightlyoff/BackgroundSync/issues/20, though there's still time to change that. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/push-api/issues/98#issuecomment-67044814
Received on Monday, 15 December 2014 18:55:49 UTC