mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Migrate to new constructor operation syntax
This commit is contained in:
parent
9706cd497d
commit
9ce82ea1ae
103 changed files with 659 additions and 413 deletions
|
@ -3,8 +3,9 @@
|
|||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://w3c.github.io/gamepad/#gamepadevent-interface
|
||||
[Pref="dom.gamepad.enabled", Constructor(DOMString type, GamepadEventInit eventInitDict)]
|
||||
[Pref="dom.gamepad.enabled"]
|
||||
interface GamepadEvent : Event {
|
||||
[Throws] constructor(DOMString type, GamepadEventInit eventInitDict);
|
||||
readonly attribute Gamepad gamepad;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue