diff --git a/lib/OpenLayers.js b/lib/OpenLayers.js index 1cfa636cff..6ff0068a2b 100644 --- a/lib/OpenLayers.js +++ b/lib/OpenLayers.js @@ -32,7 +32,7 @@ * Return the path to this script. * * Returns: - * Path to this script + * {String} Path to this script */ _getScriptLocation: function () { var scriptLocation = ""; diff --git a/lib/OpenLayers/Events.js b/lib/OpenLayers/Events.js index c618d01d9a..5633891a6b 100644 --- a/lib/OpenLayers/Events.js +++ b/lib/OpenLayers/Events.js @@ -697,7 +697,7 @@ OpenLayers.Events = OpenLayers.Class({ * Parameters: * evt - {Event} * - * Returns + * Returns: * {} The current xy coordinate of the mouse, adjusted * for offsets */ diff --git a/lib/OpenLayers/Format/SLD.js b/lib/OpenLayers/Format/SLD.js index 49223ee90e..92980ac6f5 100644 --- a/lib/OpenLayers/Format/SLD.js +++ b/lib/OpenLayers/Format/SLD.js @@ -195,6 +195,7 @@ OpenLayers.Format.SLD = OpenLayers.Class(OpenLayers.Format.XML, { * * Parameters: * xmlNode - {} + * name - {String} The name of the returned rule. * * Returns: * {Object} Hash of rule properties @@ -566,6 +567,9 @@ OpenLayers.Format.SLD = OpenLayers.Class(OpenLayers.Format.XML, { * xmlNodeList - {Array()} list to search * attributeName - {String} name of the attribute to match * attributeValue - {String} optional value of the attribute + * + * Returns: + * {DOMElement} */ getNodeWithAttribute: function(xmlNodeList, attributeName, attributeValue) { for (var i=0; i} */ setSize: function(size) { @@ -110,6 +111,7 @@ OpenLayers.Icon = OpenLayers.Class({ /** * Method: setUrl * + * Parameters: * url - {String} */ setUrl: function(url) { diff --git a/lib/OpenLayers/Renderer/SVG.js b/lib/OpenLayers/Renderer/SVG.js index 4e4d803eb6..fad4cdbd76 100644 --- a/lib/OpenLayers/Renderer/SVG.js +++ b/lib/OpenLayers/Renderer/SVG.js @@ -71,6 +71,7 @@ OpenLayers.Renderer.SVG = OpenLayers.Class(OpenLayers.Renderer.Elements, { /** * Method: inValidRange * See #669 for more information + * * Parameters: * x - {Integer} * y - {Integer} diff --git a/lib/OpenLayers/Style.js b/lib/OpenLayers/Style.js index fb139f3190..941c6c2bdd 100644 --- a/lib/OpenLayers/Style.js +++ b/lib/OpenLayers/Style.js @@ -188,7 +188,7 @@ OpenLayers.Style = OpenLayers.Class({ * feature.attributes (or feature.data, if attributes are not * available) * - * Returns; + * Returns: * {Object} the modified style */ createLiterals: function(style, context) {