Re: [sensors] Dependency on [DOM] due to inheriting from EventTarget

I'm not really sure how to solve this without blocking on some very 
speculative future work :-/. E.g. EventTarget as-is is almost 
certainly not going to be ported to ES. (Too many weirdnesses: awkward
 method naming; bubbles and cancelable and capturing not being 
generally applicable; the legacy EventListener callback-interface; the
 Event interface being a big mess; etc.) If something is going to get 
into ES, it might end up looking like 
[observable](https://github.com/zenparsing/es-observable), but I have 
my doubts on that (see issue tracker over there); if nothing else 
it'll take a long time. And then there's the question of whether a 
sensor is better modeled as a signal/observable or a 
[behavior](https://github.com/kriskowal/gtor/#behaviors)...

-- 
GitHub Notif of comment by domenic
See https://github.com/w3c/sensors/issues/21#issuecomment-106580079

Received on Thursday, 28 May 2015 19:56:09 UTC