W3C home > Mailing lists > Public > public-device-apis@w3.org > June 2015

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

From: Domenic Denicola via GitHub <sysbot+gh@w3.org>
Date: Tue, 02 Jun 2015 18:07:10 +0000
To: public-device-apis@w3.org
Message-ID: <issue_comment.created-108036017-1433268429-sysbot+gh@w3.org>
@jhusain we can add methods to EventTarget just as easily (actually 
more easily, given TC39 process) as we can to Observable.

EventTarget is a horrible interface. But it is already shipping. If 
composability is an important thing to do with sensors, we should 
extend EventTarget.

GitHub Notif of comment by domenic
See https://github.com/w3c/sensors/issues/21#issuecomment-108036017
Received on Tuesday, 2 June 2015 18:07:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:54:05 UTC