Auto merge of #9218 - KiChjang:doc-fix, r=KiChjang

Fix documentation links for EventTarget

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9218)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-01-09 17:04:16 +05:30
commit 08d1c2a4d3

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,