Making document a param of [[Register]] and [[Unregister]]. Fixes #390.
Making document a param of [[Register]] and [[Unregister]]. Fixes #390.

karolklp/ServiceWorker,mkruisselbrink/ServiceWorker,karolklp/ServiceWorker,chadoliver/ServiceWorker,justinleoye/ServiceWorker,martinthomson/ServiceWorker,martinthomson/ServiceWorker,mkruisselbrink/ServiceWorker,zuzusik/ServiceWorker,chadoliver/ServiceWorker,martinthomson/ServiceWorker,karolklp/ServiceWorker,zuzusik/ServiceWorker,justinleoye/ServiceWorker,slightlyoff/ServiceWorker,slightlyoff/ServiceWorker,chadoliver/ServiceWorker,justinleoye/ServiceWorker,zuzusik/ServiceWorker