W3C home > Mailing lists > Public > public-geolocation@w3.org > April 2011


From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Sun, 24 Apr 2011 12:37:00 +0300
Message-ID: <4DB3EF3C.3050407@helsinki.fi>
To: public-geolocation <public-geolocation@w3.org>
Hi all,

few comments.

initDeviceOrientationEvent seems to miss parameter for 
compassCalibrated. Or is there some reason to not be
able to specify that one in synthetic events?

Another comment is the double? attributes.
I assume ? is there so that it can be indicated that the value isn't
IMHO it would make more sense to say that those attributes
can be NaN.
Returning null in some cases is just strange,
since it changes the returned type.
The only change in the scripts would be to change
if (event.alpha == null) like code to
if (event.alpha == NaN)

Received on Sunday, 24 April 2011 09:37:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:51:02 UTC