Open owencm opened 8 years ago
You can pass in a registration object in to the constructor and we'll just use that.
This is a good candidate for the ReadMe.
Also need to do a doc sweep to fix bad docs: http://googlechrome.github.io/Propel/releases/0.0.20/class/src/client/push-client.js~PushClient.html#instance-constructor-constructor
Created a docs label we can reuse for these items. I was also curious about whether passing in the registration object was the pattern we wanted to call out to folks and would value seeing docs around this land.
Thanks Addy. Docs review is high on my list not that we have version-ed docs auto-building and deploying.
I presume here we register the SW when the client is created, is there anything to worry about if I'm using it on my site where I already have a sw toolbox worker?