mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Format script component
This commit is contained in:
parent
2ca7a13473
commit
c37a345dc9
357 changed files with 25485 additions and 18076 deletions
|
@ -30,9 +30,11 @@ impl GamepadButton {
|
|||
}
|
||||
|
||||
pub fn new(global: &GlobalScope, pressed: bool, touched: bool) -> DomRoot<GamepadButton> {
|
||||
reflect_dom_object(Box::new(GamepadButton::new_inherited(pressed, touched)),
|
||||
global,
|
||||
GamepadButtonBinding::Wrap)
|
||||
reflect_dom_object(
|
||||
Box::new(GamepadButton::new_inherited(pressed, touched)),
|
||||
global,
|
||||
GamepadButtonBinding::Wrap,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue