Re: Rename cancel() (was Feedback from Safari on Web Notifications)

Bump? Any thoughts on this?

Jon

On Mar 12, 2012, at 1:24 AM, Jon Lee <jonlee@apple.com> wrote:

> Second point for continued discussion: rename cancel() to close(). I thought the asymmetry between cancel() the call and onclose() the event listener made the API confusing.
> 
> I think I still prefer close() and onclose() even if its name doesn't cover the queueing situation, but can go with using "remove" and "onremove". Least desirable to me is cancel()/oncancel().
> 
> Jon
> 

Received on Tuesday, 13 March 2012 22:33:17 UTC