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.
*
* Returns:
* Path to this script
* {String} Path to this script
*/
_getScriptLocation: function () {
var scriptLocation = "";

View File

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

View File

@@ -195,6 +195,7 @@ OpenLayers.Format.SLD = OpenLayers.Class(OpenLayers.Format.XML, {
*
* Parameters:
* xmlNode - {<DOMElement>}
* 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(<DOMElement>)} 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<xmlNodeList.length; i++) {

View File

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

View File

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

View File

@@ -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) {