- From: Jake Archibald <notifications@github.com>
- Date: Fri, 09 Jan 2015 03:58:00 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Friday, 9 January 2015 11:58:30 UTC
@mounirlamouri Had a quick chat with @annevk in IRC. Thinking about usability, I think people will look for methods that act on the client, on the client object. How about: ```js client.focus().then(function(updatedClient) { updatedClient.focued === true; }) ``` Basically, your idea of returning an updated snapshot, but leaving the focus method on client. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/588#issuecomment-69325685
Received on Friday, 9 January 2015 11:58:30 UTC