Skip to content

Commit

Permalink
Updates to PDoc in DOM section.
Browse files Browse the repository at this point in the history
  • Loading branch information
savetheclocktower committed Mar 7, 2009
1 parent 449e532 commit 0f5c9bf
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions src/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@
* == DOM ==
* Extensions to DOM elements, plus other utilities for DOM traversal
* and modification.
*
* Prototype's DOM extensions represent a large portion of where you'll spend
* your time. Prototype adds many convenience methods to elements returned by
* the [[$]] function. For instance, you can write
*
* $('comments').addClassName('active').show();
*
* to get the element with the ID of `comments`, add a class name to it, and
* show it (if it was previously hidden).
*
* In other words, Prototype adds "instance" methods to DOM nodes. This is
* made possible by direct extension of the backing DOM objects (in browsers
* that support it) and by manual extension of individual nodes (in browsers
* that do not).
*
**/


Expand Down
2 changes: 1 addition & 1 deletion src/dom/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ Form.Element.Methods = {

var Field = Form.Element;

/** section: DOM, alias of: Form.Element.getValue
/** section: DOM, related to: Form
* $F(element) -> String | Array
**/
var $F = Form.Element.Methods.getValue;
Expand Down

0 comments on commit 0f5c9bf

Please sign in to comment.