Fix documentation links for EventTarget

This commit is contained in:
Keith Yeung 2016-01-09 06:33:36 -05:00
parent f00532bab0
commit c3f73b36e1

View file

@ -330,13 +330,13 @@ impl EventTarget {
!self.handlers.borrow().is_empty()
}
/// Implements https://html.spec.whatwg.org/multipage/#fire-a-simple-event
// https://html.spec.whatwg.org/multipage/#fire-a-simple-event
pub fn fire_simple_event(&self, name: &str, win: GlobalRef) -> Root<Event> {
self.fire_event(name, EventBubbles::DoesNotBubble,
EventCancelable::NotCancelable, win)
}
/// Implements more customizable variant of EventTarget::fire_simple_event.
// https://dom.spec.whatwg.org/#concept-event-fire
pub fn fire_event(&self, name: &str,
bubbles: EventBubbles,
cancelable: EventCancelable,