W3C home > Mailing lists > Public > public-web-notification@w3.org > October 2010

Re: Some comments on the API

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 18 Oct 2010 19:59:56 +0000 (UTC)
To: Doug Turner <dougt@dougt.org>
cc: Anne van Kesteren <annevk@opera.com>, James Graham <jgraham@opera.com>, Web Notification WG <public-web-notification@w3.org>, Alex Russell <slightlyoff@google.com>
Message-ID: <Pine.LNX.4.64.1010181956500.5810@ps20323.dreamhostps.com>
On Sat, 16 Oct 2010, Doug Turner wrote:
> 
> Here is what I did:
> 
> var notification = navigator.mozNotification.createNotification(...);

That's a bit verbose... in the standard version, can we just use a 
constructor? e.g.

   var notification = new Notification();

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 18 October 2010 20:00:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 17 December 2012 14:48:27 GMT