Some problems in the documentation detected using "closure_verify"

This commit is contained in:
Xavier Mamano
2012-01-07 19:29:41 +01:00
parent fc43ea715a
commit b7dee9ca6d
40 changed files with 98 additions and 56 deletions

View File

@@ -76,7 +76,7 @@ OpenLayers.Format.Atom = OpenLayers.Class(OpenLayers.Format.XML, {
* doc - {Element} or {String}
*
* Returns:
* An Array of <OpenLayers.Feature.Vector>s
* Array(<OpenLayers.Feature.Vector>)
*/
read: function(doc) {
if (typeof doc == "string") {
@@ -90,8 +90,7 @@ OpenLayers.Format.Atom = OpenLayers.Class(OpenLayers.Format.XML, {
* Serialize or more feature nodes to Atom documents.
*
* Parameters:
* features - a single {<OpenLayers.Feature.Vector>} or an
* Array({<OpenLayers.Feature.Vector>}).
* features - {<OpenLayers.Feature.Vector>} or Array({<OpenLayers.Feature.Vector>})
*
* Returns:
* {String} an Atom entry document if passed one feature node, or a feed