Skip to content

Commit

Permalink
doc: Merge/update the old docs for document object into source [proto…
Browse files Browse the repository at this point in the history
…typejs#91 state:fixed_in_branch]
  • Loading branch information
dandean authored and samleb committed Jan 9, 2010
1 parent b06a535 commit e7e4842
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/dom/event.js
Expand Up @@ -753,7 +753,15 @@
Object.extend(document, {
/**
* document.fire(eventName[, memo[, bubble = true]]) -> Event
* See [[Event.fire]].
* - memo (?): Metadata for the event. Will be accessible through the
* event's `memo` property.
* - bubble (Boolean): Whether the event will bubble.
*
* Fires a custom event of name `eventName` with `document` as the target.
*
* `document.fire` is the document-wide version of [[Element.fire]].
*
* Custom events must include a colon (`:`) in their names.
**/
fire: fire.methodize(),

Expand Down

0 comments on commit e7e4842

Please sign in to comment.