Filling our log with cruft, adding meaningless conflicts for merges, and changing a comment style that ndocs could care less about, this commit changes Return to Returns (closes #945).

git-svn-id: http://svn.openlayers.org/trunk/openlayers@4110 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-08-29 18:44:10 +00:00
parent b5ef77096c
commit c2148651ed
78 changed files with 397 additions and 388 deletions

View File

@@ -135,7 +135,7 @@ OpenLayers.Control.DragFeature = OpenLayers.Class(OpenLayers.Control, {
* APIMethod: activate
* Activate the control and the feature handler.
*
* Return:
* Returns:
* {Boolean} Successfully activated the control and feature handler.
*/
activate: function() {
@@ -147,7 +147,7 @@ OpenLayers.Control.DragFeature = OpenLayers.Class(OpenLayers.Control, {
* APIMethod: deactivate
* Deactivate the control and all handlers.
*
* Return:
* Returns:
* {Boolean} Successfully deactivated the control.
*/
deactivate: function() {

View File

@@ -126,7 +126,7 @@ OpenLayers.Control.LayerSwitcher = OpenLayers.Class(OpenLayers.Control, {
/**
* Method: draw
*
* Return:
* Returns:
* {DOMElement} A reference to the DIV DOMElement containing the switcher
* tabs
*/
@@ -175,7 +175,7 @@ OpenLayers.Control.LayerSwitcher = OpenLayers.Class(OpenLayers.Control, {
* control to display that state. Groups base layers into a radio-button
* group and lists each data layer with a checkbox.
*
* Return:
* Returns:
* {DOMElement} A reference to the DIV DOMElement containing the control
*/
redraw: function() {

View File

@@ -98,7 +98,7 @@ OpenLayers.Control.MouseDefaults = OpenLayers.Class(OpenLayers.Control, {
* Parameters:
* evt - {Event}
*
* Return:
* Returns:
* {Boolean}
*/
defaultClick: function (evt) {

View File

@@ -555,7 +555,7 @@ OpenLayers.Control.OverviewMap = OpenLayers.Class(OpenLayers.Control, {
* Method: getRectPxBounds
* Get extent rectangle pixel bounds
*
* Return:
* Returns:
* {<OpenLayers.Bounds>} A bounds which is the extent rectangle's pixel
* bounds (relative to the parent element)
*/
@@ -594,7 +594,7 @@ OpenLayers.Control.OverviewMap = OpenLayers.Class(OpenLayers.Control, {
* Parameters:
* lonLatBounds - {<OpenLayers.Bounds>}
*
* Return:
* Returns:
* {<OpenLayers.Bounds>}A bounds which is the passed-in map lon/lat extent
* translated into pixel bounds for the overview map
*/
@@ -620,7 +620,7 @@ OpenLayers.Control.OverviewMap = OpenLayers.Class(OpenLayers.Control, {
* Parameters:
* pxBounds - {<OpenLayers.Bounds>}
*
* Return:
* Returns:
* {<OpenLayers.Bounds>} Bounds which is the passed-in overview rect bounds
* translated into lon/lat bounds for the overview map
*/
@@ -642,7 +642,7 @@ OpenLayers.Control.OverviewMap = OpenLayers.Class(OpenLayers.Control, {
* Parameters:
* overviewMapPx - {<OpenLayers.Pixel>}
*
* Return:
* Returns:
* {<OpenLayers.LonLat>} Location which is the passed-in overview map
* OpenLayers.Pixel, translated into lon/lat by the overview map
*/
@@ -665,7 +665,7 @@ OpenLayers.Control.OverviewMap = OpenLayers.Class(OpenLayers.Control, {
* Parameters:
* lonlat - {<OpenLayers.LonLat>}
*
* Return:
* Returns:
* {<OpenLayers.Pixel>} Location which is the passed-in OpenLayers.LonLat,
* translated into overview map pixels
*/

View File

@@ -60,7 +60,7 @@ OpenLayers.Control.PanZoom = OpenLayers.Class(OpenLayers.Control, {
* Parameters:
* px - {<OpenLayers.Pixel>}
*
* Return:
* Returns:
* {DOMElement} A reference to the container div for the PanZoom control
*/
draw: function(px) {
@@ -98,7 +98,7 @@ OpenLayers.Control.PanZoom = OpenLayers.Class(OpenLayers.Control, {
* xy - {<OpenLayers.Pixel>}
* sz - {<OpenLayers.Size>}
*
* Return:
* Returns:
* {DOMElement} A Div (an alphaImageDiv, to be precise) that contains the
* image of the button, and has all the proper event handlers set.
*/
@@ -132,7 +132,8 @@ OpenLayers.Control.PanZoom = OpenLayers.Class(OpenLayers.Control, {
* Parameters:
* evt - {Event}
*
* Return: {Boolean}
* Returns:
* {Boolean}
*/
doubleClick: function (evt) {
OpenLayers.Event.stop(evt);

View File

@@ -82,7 +82,8 @@ OpenLayers.Control.Panel = OpenLayers.Class(OpenLayers.Control, {
/**
* Method: draw
*
* Return: {DOMElement}
* Returns:
* {DOMElement}
*/
draw: function() {
OpenLayers.Control.prototype.draw.apply(this, arguments);

View File

@@ -78,7 +78,8 @@ OpenLayers.Control.Permalink = OpenLayers.Class(OpenLayers.Control, {
/**
* Method: draw
*
* Return: {DOMElement}
* Returns:
* {DOMElement}
*/
draw: function() {
OpenLayers.Control.prototype.draw.apply(this, arguments);

View File

@@ -34,7 +34,8 @@ OpenLayers.Control.Scale = OpenLayers.Class(OpenLayers.Control, {
/**
* Method: draw
*
* Return: {DOMElemen}
* Returns:
* {DOMElemen}
*/
draw: function() {
OpenLayers.Control.prototype.draw.apply(this, arguments);