- From: Anne van Kesteren <annevk@annevk.nl>
- Date: Mon, 11 Jun 2012 22:47:07 +0200
- To: Doug Turner <dougt@dougt.org>
- Cc: Jon Lee <jonlee@apple.com>, Web Notification WG <public-web-notification@w3.org>
On Mon, Jun 11, 2012 at 10:41 PM, Doug Turner <dougt@dougt.org> wrote: > no, if you had options, you'd have to do something verbose like > > new Notification(someExistingObjectThatHasATitleAttribute.title, > someExistingObjectThatHasATitleAttribute); Yeah I was thinking about this as well. I decided to follow what we did for event constructors where the one thing that must be supplied is an argument of its own (Event(type, everythingElse)). We can merge them if people prefer that and throw an exception of sorts if the title member is missing though I personally prefer keeping it as is. -- Anne — Opera Software http://annevankesteren.nl/ http://www.opera.com/
Received on Monday, 11 June 2012 20:48:10 UTC