Re: [w3c/gamepad] GamepadEvent constructor is missing the type argument (#35)

Per Web IDL:
"""
If the type of an argument is a dictionary type (or a union type that has a dictionary as one of its flattened member types), and that dictionary type and its ancestors have no required members, and the argument is either the final argument or is followed only by optional arguments, then the argument must be specified as optional. Such arguments are always considered to have a default value of an empty dictionary, unless otherwise specified.
"""

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/issues/35#issuecomment-331217446

Received on Thursday, 21 September 2017 16:55:26 UTC