- From: davidmarkclements via GitHub <sysbot+gh@w3.org>
- Date: Fri, 05 Jun 2015 14:07:59 +0000
- To: public-device-apis@w3.org
What about this? ```js var pSensors = Sensor.Proximity.list(); // => [ {id: <Symbol()>, meta: { position: 'back-left'}} ] //Sensor.Proximity( <Symbol or Object with {id: <Symbol> ) var mySensor = Sensor.Proximity(pSensors[0]); //deliberately not using new //and/or : var mySensor = Sensor.Proximity(pSensors[0].id); ``` ``` -- GitHub Notif of comment by davidmarkclements See https://github.com/w3c/sensors/issues/26#issuecomment-109304260
Received on Friday, 5 June 2015 14:08:06 UTC