- From: Anne van Kesteren <annevk@annevk.nl>
- Date: Tue, 18 Dec 2012 13:30:40 +0100
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: public-device-apis <public-device-apis@w3.org>, public-webapps <public-webapps@w3.org>
On Tue, Dec 18, 2012 at 1:01 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote: > enum LightLevel { "dim", "normal", "bright" }; > [Constructor (DOMString type, optional LightLevelEventInit eventInitDict)] > interface LightLevelEvent : Event { > readonly attribute LightLevel? value; > }; > dictionary LightLevelEventInit : EventInit { > LightLevel? value; > }; The enum should not be nullable. If you use this drop the ? as that is not needed here. -- http://annevankesteren.nl/
Received on Tuesday, 18 December 2012 12:31:12 UTC