mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Make test-tidy check that braces have spaces before or after them
This commit is contained in:
parent
aee011a524
commit
64ac4f175f
10 changed files with 31 additions and 21 deletions
|
@ -52,9 +52,9 @@ impl ProgressEvent {
|
|||
type_: DOMString,
|
||||
init: &ProgressEventBinding::ProgressEventInit)
|
||||
-> Fallible<Root<ProgressEvent>> {
|
||||
let bubbles = if init.parent.bubbles {EventBubbles::Bubbles} else {EventBubbles::DoesNotBubble};
|
||||
let cancelable = if init.parent.cancelable {EventCancelable::Cancelable}
|
||||
else {EventCancelable::NotCancelable};
|
||||
let bubbles = if init.parent.bubbles { EventBubbles::Bubbles } else { EventBubbles::DoesNotBubble };
|
||||
let cancelable = if init.parent.cancelable { EventCancelable::Cancelable }
|
||||
else { EventCancelable::NotCancelable };
|
||||
let ev = ProgressEvent::new(global, type_, bubbles, cancelable,
|
||||
init.lengthComputable, init.loaded, init.total);
|
||||
Ok(ev)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue