- From: Anne van Kesteren <annevk@opera.com>
- Date: Tue, 06 Sep 2011 11:38:45 +0200
- To: public-geolocation <public-geolocation@w3.org>
http://dev.w3.org/geo/api/spec-source-orientation.html still changes the semantics of addEventListener(). I would like at least a note be added that this is controversial. Or please raise it on www-dom@w3.org as I requested. http://lists.w3.org/Archives/Public/public-device-apis/2011Sep/0005.html has an alternative design for a similar API that might work here too. Basically you create a source object where events can be dispatched upon. var orientationEventTarget = new OrientationEventSource(); orientationEventTarget.onXXX = function() { ... } -- Anne van Kesteren http://annevankesteren.nl/
Received on Tuesday, 6 September 2011 09:39:11 UTC