On Tue, Dec 18, 2012 at 1:01 AM, Tab Atkins Jr. <[email protected]> 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/
