W3C home > Mailing lists > Public > public-device-apis@w3.org > October 2009

RE: Straw-poll: hanging the device API

From: Nilsson, Claes1 <Claes1.Nilsson@sonyericsson.com>
Date: Wed, 7 Oct 2009 16:25:58 +0200
To: 'Robin Berjon' <robin@robineko.com>, "public-device-apis@w3.org" <public-device-apis@w3.org>
Message-ID: <6DFA1B20D858A14488A66D6EEDF26AA3208923CDFC@seldmbx03.corpusers.net>

-----Original Message-----
From: public-device-apis-request@w3.org [mailto:public-device-apis-request@w3.org] On Behalf Of Robin Berjon
Sent: onsdag den 7 oktober 2009 15:30
To: public-device-apis@w3.org
Subject: Straw-poll: hanging the device API

Hi all,

it seems that we're now going around in circles with this discussion,  
with some cookie-cutter arguments being made and few people being  
convinced either way. I'd like to whittle down the options and call  
for a straw-poll to get a feel of who stands where (and also hopefully  
to simplify the discussion).

This is open to everyone, there is no closing date but please answer  

Option A: window.navigator.device
   - because we shouldn't pollute the global namespace anymore than it  
already is
   - because there are some precedents in putting device-related APIs  
on navigator

Option B: window.device
   - because it's shorter and more elegant
   - because WebApps created window.widget so we can go there too.

Answers on a postcard, "A" or "B" suffice, short justifications welcome.

Robin Berjon
   robineko - setting new standards
Received on Wednesday, 7 October 2009 14:26:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:39 UTC