- From: Alex Russell <slightlyoff@google.com>
- Date: Mon, 18 Oct 2010 18:12:31 -0700
- To: Ian Hickson <ian@hixie.ch>
- Cc: Doug Turner <dougt@dougt.org>, Anne van Kesteren <annevk@opera.com>, James Graham <jgraham@opera.com>, Web Notification WG <public-web-notification@w3.org>
I strongly prefer constructor-driven creation, perhaps supporting new-less calls that also return new instances. The "source.createThinger(....)" pattern needs to die in a fire. Regards On Monday, October 18, 2010, Ian Hickson <ian@hixie.ch> wrote: > 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 Tuesday, 19 October 2010 01:13:02 UTC