W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2014

Re: [push-api] Moving "PushManager push" onto ServiceWorkerRegistration

From: Jonas Sicking <jonas@sicking.cc>
Date: Fri, 11 Jul 2014 09:59:32 -0700
Message-ID: <CA+c2ei9EZAP0-DUypiy0ycX2jPx6w1SBN4Zz+E0iCZy2exv9KA@mail.gmail.com>
To: Jake Archibald <jaffathecake@gmail.com>
Cc: Webapps WG <public-webapps@w3.org>
On Fri, Jul 11, 2014 at 8:17 AM, Jake Archibald <jaffathecake@gmail.com> wrote:
> navigator.serviceWorker.ready.then(function(reg) {
>   reg.push.register(...)
> });

I agree this looks good. Though maybe

reg.registerPush(...)

instead?

/ Jonas
Received on Friday, 11 July 2014 17:00:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:26 UTC