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

Would changing the [init 
dictionary](https://w3c.github.io/sensors/#dictdef-sensoroptions) like
 so fix the issue?

```webidl
dictionary SensorOptions {
  double? frequency = null;
};
```

The intent is for `frequency` to be `null` unless specified by the API
 consumer. I wrongly(?) assumed `double?` by itself defaulted to 
`null` if not value was set.

As a sidenote, sorry for not being more reactive on this front, but 
I'm still [in between 
contracts](https://lists.w3.org/Archives/Public/public-device-apis/2016Jun/0041.html)
 here.

-- 
GitHub Notification of comment by tobie
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/125#issuecomment-244368607 using
 your GitHub account

Received on Friday, 2 September 2016 13:02:39 UTC