Minor PDoc corrections.

This commit is contained in:
Andrew Dupont 2009-02-27 17:02:42 -06:00
parent d22a9988fa
commit de77550574
3 changed files with 6 additions and 7 deletions

View File

@ -326,8 +326,7 @@ Element.Methods = {
return $(element);
},
/** alias of: Element.childElements
*
/**
* Element.childElements(@element) -> [Element...]
*
* Collects all of `element`s immediate descendants (i.e., children) and
@ -628,7 +627,7 @@ Element.Methods = {
},
/**
* Element.toggleClassName(@element, className)
* Element.toggleClassName(@element, className) -> Element
*
* Toggles the presence of a CSS class on `element`.
**/

View File

@ -1,5 +1,5 @@
/** section: dom
* Form
* Form
**/
var Form = {
@ -196,7 +196,7 @@ Form.Methods = {
/*--------------------------------------------------------------------------*/
/** section: dom
* Form.Element
* Form.Element
**/
Form.Element = {
@ -243,7 +243,6 @@ Form.Element.Methods = {
},
/** alias of: $F
*
* Form.Element.getValue(@element) -> String | Array
*
* Returns the current value of a form control.
@ -408,7 +407,7 @@ Form.Element.Serializers = {
/*--------------------------------------------------------------------------*/
/** section: dom
* Abstract
* Abstract
**/
/** section: dom

View File

@ -12,6 +12,7 @@ var Abstract = { };
/**
* Try.these(function...) -> ?
* - function (Function): A function that may throw an exception.
*
* Accepts an arbitrary number of functions and returns the result of the
* first one that doesn't throw an error.
**/