aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/customevent.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/customevent.rs')
-rw-r--r--components/script/dom/customevent.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/components/script/dom/customevent.rs b/components/script/dom/customevent.rs
index afcec68e8ba..6c1e71b3b08 100644
--- a/components/script/dom/customevent.rs
+++ b/components/script/dom/customevent.rs
@@ -40,7 +40,8 @@ impl CustomEvent {
type_: DOMString,
bubbles: bool,
cancelable: bool,
- detail: HandleValue) -> Root<CustomEvent> {
+ detail: HandleValue)
+ -> Root<CustomEvent> {
let ev = CustomEvent::new_uninitialized(global);
ev.InitCustomEvent(global.get_cx(), type_, bubbles, cancelable, detail);
ev
@@ -48,7 +49,8 @@ impl CustomEvent {
#[allow(unsafe_code)]
pub fn Constructor(global: GlobalRef,
type_: DOMString,
- init: &CustomEventBinding::CustomEventInit) -> Fallible<Root<CustomEvent>>{
+ init: &CustomEventBinding::CustomEventInit)
+ -> Fallible<Root<CustomEvent>> {
Ok(CustomEvent::new(global,
type_,
init.parent.bubbles,