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:
@@ -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 = "";
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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++) {
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user