- From: Tobie Langel via GitHub <sysbot+gh@w3.org>
- Date: Tue, 08 Nov 2016 11:30:57 +0000
- To: public-device-apis-log@w3.org
tobie has just created a new issue for
https://github.com/w3c/ambient-light:
== Should we really redefine AmbientLightSensor.reading? ==
`Sensor.reading` is already defined in the Generic Sensor API as:
```webidl
interface Sensor {
// ...
readonly attribute SensorReading? reading;
};
```
`AmbientLightSensor` inherits from `Sensor` and
`AmbientLightSensorReading` from `SensorReading`. It therefore seems
redefining it isn't strictly necessary. Curious what the best practice
is, here.
Please view or discuss this issue at
https://github.com/w3c/ambient-light/issues/17 using your GitHub
account
Received on Tuesday, 8 November 2016 11:31:03 UTC