W3C home > Mailing lists > Public > public-device-apis-log@w3.org > September 2016

Re: [sensors] https://w3c.github.io/sensors/#construct-sensor-object is doing weird things with frequency

From: Boris Zbarsky via GitHub <sysbot+gh@w3.org>
Date: Fri, 02 Sep 2016 13:20:56 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-244372749-1472822454-sysbot+gh@w3.org>
> Would changing the init dictionary like so fix the issue?

It would certainly make it so there is no "not present" state.

> I wrongly(?) assumed double? by itself defaulted to null if not 
value was set.

That's a wrong assumption, yes.  ;)

-- 
GitHub Notification of comment by bzbarsky
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/125#issuecomment-244372749 using
 your GitHub account
Received on Friday, 2 September 2016 13:21:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:34:21 UTC