Change all 'Return:' to 'Returns:' in documentation. Non functional change
This commit is contained in:
@@ -1393,7 +1393,7 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
* Parameters:
|
||||
* geometry - {<OpenLayers.Geometry>}
|
||||
*
|
||||
* Return:
|
||||
* Returns:
|
||||
* {DOMElement}
|
||||
*/
|
||||
buildCoordinatesNode: function(geometry) {
|
||||
|
||||
@@ -168,7 +168,7 @@ OpenLayers.Handler.RegularPolygon = OpenLayers.Class(OpenLayers.Handler.Drag, {
|
||||
* APIMethod: activate
|
||||
* Turn on the handler.
|
||||
*
|
||||
* Return:
|
||||
* Returns:
|
||||
* {Boolean} The handler was successfully activated
|
||||
*/
|
||||
activate: function() {
|
||||
@@ -195,7 +195,7 @@ OpenLayers.Handler.RegularPolygon = OpenLayers.Class(OpenLayers.Handler.Drag, {
|
||||
* APIMethod: deactivate
|
||||
* Turn off the handler.
|
||||
*
|
||||
* Return:
|
||||
* Returns:
|
||||
* {Boolean} The handler was successfully deactivated
|
||||
*/
|
||||
deactivate: function() {
|
||||
|
||||
@@ -975,7 +975,7 @@ OpenLayers.Layer = OpenLayers.Class({
|
||||
* Parameters:
|
||||
* props - {Object} Properties
|
||||
*
|
||||
* Return:
|
||||
* Returns:
|
||||
* {Array({Number})} Array of resolutions.
|
||||
*/
|
||||
calculateResolutions: function(props) {
|
||||
|
||||
@@ -111,7 +111,7 @@ OpenLayers.Style = OpenLayers.Class({
|
||||
* rules - {Array(<OpenLayers.Rule>)} List of rules to be added to the
|
||||
* style.
|
||||
*
|
||||
* Return:
|
||||
* Returns:
|
||||
* {<OpenLayers.Style>}
|
||||
*/
|
||||
initialize: function(style, options) {
|
||||
|
||||
@@ -70,7 +70,7 @@ OpenLayers.Style2 = OpenLayers.Class({
|
||||
* config - {Object} An object containing properties to be set on the
|
||||
* style. Any documented properties may be set at construction.
|
||||
*
|
||||
* Return:
|
||||
* Returns:
|
||||
* {<OpenLayers.Style2>} A new style object.
|
||||
*/
|
||||
initialize: function(config) {
|
||||
|
||||
@@ -25,7 +25,7 @@ OpenLayers.Util = OpenLayers.Util || {};
|
||||
* Parameters:
|
||||
* e - {String or DOMElement or Window}
|
||||
*
|
||||
* Return:
|
||||
* Returns:
|
||||
* {Array(DOMElement) or DOMElement}
|
||||
*/
|
||||
OpenLayers.Util.getElement = function() {
|
||||
|
||||
Reference in New Issue
Block a user