From de775505749dfc06dc6a9e0f2d9da0cc7a49fb53 Mon Sep 17 00:00:00 2001 From: Andrew Dupont Date: Fri, 27 Feb 2009 17:02:42 -0600 Subject: [PATCH] Minor PDoc corrections. --- src/dom/dom.js | 5 ++--- src/dom/form.js | 7 +++---- src/lang.js | 1 + 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/dom/dom.js b/src/dom/dom.js index 859c3c5..129d794 100644 --- a/src/dom/dom.js +++ b/src/dom/dom.js @@ -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`. **/ diff --git a/src/dom/form.js b/src/dom/form.js index 153fd31..28ec99e 100644 --- a/src/dom/form.js +++ b/src/dom/form.js @@ -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 diff --git a/src/lang.js b/src/lang.js index e21a180..d3d55b9 100644 --- a/src/lang.js +++ b/src/lang.js @@ -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. **/