W3C home > Mailing lists > Public > public-device-apis@w3.org > December 2012

Re: Ambient Light Events Feedback

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 18 Dec 2012 13:33:22 +0100
Message-ID: <CADnb78ghTefgcK0KfijEddX60EKx8TFTdpT=erBS_X3xQuKq=A@mail.gmail.com>
To: public-device-apis@w3.org
On Tue, Dec 18, 2012 at 1:27 PM, Anne van Kesteren <annevk@annevk.nl> wrote:
> [...]

I just noticed another thing. The default values for the event members
are not defined. You need to do that, otherwise (new
DeviceLightEvent("trololol").value) is not defined.

See http://dom.spec.whatwg.org/#defining-event-interfaces for advice
on defining new event interfaces.


-- 
http://annevankesteren.nl/
Received on Tuesday, 18 December 2012 12:33:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 18 December 2012 12:33:53 GMT