[sensors] Example code omits call to .start()

jyasskin has just created a new issue for 
https://github.com/w3c/sensors:

== Example code omits call to .start() ==
https://w3c.github.io/sensors/#background has two examples that 
construct a sensor object and attach event listeners, but don't call 
.start(). https://w3c.github.io/ambient-light/#examples does call 
.start(), and it looks like that's necessary in order to actually fire
 the first event and start listening.

Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/140 using your GitHub account

Received on Friday, 7 October 2016 20:09:15 UTC