[sensors] Dependency on [DOM] du to inheriting from EventTarget

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

== Dependency on [DOM] du to inheriting from EventTarget ==
Inheriting from EventTarget (and relying on the event system) adds a 
huge dependency on the Generic Sensor API which makes it unfit for 
inclusion in non browser platforms (e.g. node/io).

**Actions:**

- [ ] Define whether ability to include the spec in non browser 
platforms is a design goal.
- [ ] Investigate solutions to lighten that dependency (e.g. future 
extraction of the event APIs and event loop concept from DOM and HTML 
into EcmaScript)?
- [ ] Seek advise from @domenic who's solving similar problems with 
the Streams API.

See https://github.com/w3c/sensors/issues/21

Received on Thursday, 28 May 2015 07:46:05 UTC