fix typos and missing documentation in ND comments. (non-functional changes)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@6200 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Frédéric Junod
2008-02-11 09:54:21 +00:00
parent da706ed568
commit 32d541641d
6 changed files with 10 additions and 3 deletions

View File

@@ -32,7 +32,7 @@
* Return the path to this script. * Return the path to this script.
* *
* Returns: * Returns:
* Path to this script * {String} Path to this script
*/ */
_getScriptLocation: function () { _getScriptLocation: function () {
var scriptLocation = ""; var scriptLocation = "";

View File

@@ -697,7 +697,7 @@ OpenLayers.Events = OpenLayers.Class({
* Parameters: * Parameters:
* evt - {Event} * evt - {Event}
* *
* Returns * Returns:
* {<OpenLayers.Pixel>} The current xy coordinate of the mouse, adjusted * {<OpenLayers.Pixel>} The current xy coordinate of the mouse, adjusted
* for offsets * for offsets
*/ */

View File

@@ -195,6 +195,7 @@ OpenLayers.Format.SLD = OpenLayers.Class(OpenLayers.Format.XML, {
* *
* Parameters: * Parameters:
* xmlNode - {<DOMElement>} * xmlNode - {<DOMElement>}
* name - {String} The name of the returned rule.
* *
* Returns: * Returns:
* {Object} Hash of rule properties * {Object} Hash of rule properties
@@ -566,6 +567,9 @@ OpenLayers.Format.SLD = OpenLayers.Class(OpenLayers.Format.XML, {
* xmlNodeList - {Array(<DOMElement>)} list to search * xmlNodeList - {Array(<DOMElement>)} list to search
* attributeName - {String} name of the attribute to match * attributeName - {String} name of the attribute to match
* attributeValue - {String} optional value of the attribute * attributeValue - {String} optional value of the attribute
*
* Returns:
* {DOMElement}
*/ */
getNodeWithAttribute: function(xmlNodeList, attributeName, attributeValue) { getNodeWithAttribute: function(xmlNodeList, attributeName, attributeValue) {
for (var i=0; i<xmlNodeList.length; i++) { for (var i=0; i<xmlNodeList.length; i++) {

View File

@@ -98,6 +98,7 @@ OpenLayers.Icon = OpenLayers.Class({
/** /**
* Method: setSize * Method: setSize
* *
* Parameters:
* size - {<OpenLayers.Size>} * size - {<OpenLayers.Size>}
*/ */
setSize: function(size) { setSize: function(size) {
@@ -110,6 +111,7 @@ OpenLayers.Icon = OpenLayers.Class({
/** /**
* Method: setUrl * Method: setUrl
* *
* Parameters:
* url - {String} * url - {String}
*/ */
setUrl: function(url) { setUrl: function(url) {

View File

@@ -71,6 +71,7 @@ OpenLayers.Renderer.SVG = OpenLayers.Class(OpenLayers.Renderer.Elements, {
/** /**
* Method: inValidRange * Method: inValidRange
* See #669 for more information * See #669 for more information
*
* Parameters: * Parameters:
* x - {Integer} * x - {Integer}
* y - {Integer} * y - {Integer}

View File

@@ -188,7 +188,7 @@ OpenLayers.Style = OpenLayers.Class({
* feature.attributes (or feature.data, if attributes are not * feature.attributes (or feature.data, if attributes are not
* available) * available)
* *
* Returns; * Returns:
* {Object} the modified style * {Object} the modified style
*/ */
createLiterals: function(style, context) { createLiterals: function(style, context) {