Change all 'Return:' to 'Returns:' in documentation. Non functional change

This commit is contained in:
fredj
2012-01-12 09:17:43 +01:00
parent 4769e119a0
commit 04ae5f8db8
6 changed files with 7 additions and 7 deletions

View File

@@ -1393,7 +1393,7 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
* Parameters: * Parameters:
* geometry - {<OpenLayers.Geometry>} * geometry - {<OpenLayers.Geometry>}
* *
* Return: * Returns:
* {DOMElement} * {DOMElement}
*/ */
buildCoordinatesNode: function(geometry) { buildCoordinatesNode: function(geometry) {

View File

@@ -168,7 +168,7 @@ OpenLayers.Handler.RegularPolygon = OpenLayers.Class(OpenLayers.Handler.Drag, {
* APIMethod: activate * APIMethod: activate
* Turn on the handler. * Turn on the handler.
* *
* Return: * Returns:
* {Boolean} The handler was successfully activated * {Boolean} The handler was successfully activated
*/ */
activate: function() { activate: function() {
@@ -195,7 +195,7 @@ OpenLayers.Handler.RegularPolygon = OpenLayers.Class(OpenLayers.Handler.Drag, {
* APIMethod: deactivate * APIMethod: deactivate
* Turn off the handler. * Turn off the handler.
* *
* Return: * Returns:
* {Boolean} The handler was successfully deactivated * {Boolean} The handler was successfully deactivated
*/ */
deactivate: function() { deactivate: function() {

View File

@@ -975,7 +975,7 @@ OpenLayers.Layer = OpenLayers.Class({
* Parameters: * Parameters:
* props - {Object} Properties * props - {Object} Properties
* *
* Return: * Returns:
* {Array({Number})} Array of resolutions. * {Array({Number})} Array of resolutions.
*/ */
calculateResolutions: function(props) { calculateResolutions: function(props) {

View File

@@ -111,7 +111,7 @@ OpenLayers.Style = OpenLayers.Class({
* rules - {Array(<OpenLayers.Rule>)} List of rules to be added to the * rules - {Array(<OpenLayers.Rule>)} List of rules to be added to the
* style. * style.
* *
* Return: * Returns:
* {<OpenLayers.Style>} * {<OpenLayers.Style>}
*/ */
initialize: function(style, options) { initialize: function(style, options) {

View File

@@ -70,7 +70,7 @@ OpenLayers.Style2 = OpenLayers.Class({
* config - {Object} An object containing properties to be set on the * config - {Object} An object containing properties to be set on the
* style. Any documented properties may be set at construction. * style. Any documented properties may be set at construction.
* *
* Return: * Returns:
* {<OpenLayers.Style2>} A new style object. * {<OpenLayers.Style2>} A new style object.
*/ */
initialize: function(config) { initialize: function(config) {

View File

@@ -25,7 +25,7 @@ OpenLayers.Util = OpenLayers.Util || {};
* Parameters: * Parameters:
* e - {String or DOMElement or Window} * e - {String or DOMElement or Window}
* *
* Return: * Returns:
* {Array(DOMElement) or DOMElement} * {Array(DOMElement) or DOMElement}
*/ */
OpenLayers.Util.getElement = function() { OpenLayers.Util.getElement = function() {