From a74a9bd49f50249bcc71f33035a00a72f059cdb0 Mon Sep 17 00:00:00 2001 From: euzuro Date: Fri, 6 Jul 2007 17:38:20 +0000 Subject: [PATCH] remove *private* statements from nd comments git-svn-id: http://svn.openlayers.org/trunk/openlayers@3620 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Events.js | 4 ---- lib/OpenLayers/Handler.js | 8 ++++---- lib/OpenLayers/Handler/Drag.js | 2 +- lib/OpenLayers/Handler/Keyboard.js | 2 +- lib/OpenLayers/Handler/MouseWheel.js | 2 +- lib/OpenLayers/Handler/Path.js | 24 ++++++++++++------------ lib/OpenLayers/Handler/Polygon.js | 2 +- 7 files changed, 20 insertions(+), 24 deletions(-) diff --git a/lib/OpenLayers/Events.js b/lib/OpenLayers/Events.js index 8c1c21b605..405c4b0031 100644 --- a/lib/OpenLayers/Events.js +++ b/lib/OpenLayers/Events.js @@ -224,7 +224,6 @@ OpenLayers.Event = { /** * Method: _removeElementObservers - * *Private*. * * Parameters: * elementObservers - {Array(Object)} Array of (element, name, @@ -616,8 +615,6 @@ OpenLayers.Events.prototype = { * care to set a property 'xy' on the event with the current mouse * position. * - * Private function. - * * Parameters: * evt - {Event} */ @@ -628,7 +625,6 @@ OpenLayers.Events.prototype = { /** * Method: getMousePosition - * *Private* * * Parameters: * evt - {Event} diff --git a/lib/OpenLayers/Handler.js b/lib/OpenLayers/Handler.js index 2fe8d68e57..f2bf9a114c 100644 --- a/lib/OpenLayers/Handler.js +++ b/lib/OpenLayers/Handler.js @@ -19,20 +19,20 @@ OpenLayers.Handler.MOD_ALT = 4; OpenLayers.Handler.prototype = { /** * Property: id - * *Private*. {String} + * {String} */ id: null, /** * Property: control - * *Private*. {}. The control that initialized this + * {}. The control that initialized this * handler. */ control: null, /** * Property: map - * *Private*. {} + * {} */ map: null, @@ -44,7 +44,7 @@ OpenLayers.Handler.prototype = { /** * Property: active - * *Private*. {Boolean} + * {Boolean} */ active: false, diff --git a/lib/OpenLayers/Handler/Drag.js b/lib/OpenLayers/Handler/Drag.js index 28144a5e51..c606456441 100644 --- a/lib/OpenLayers/Handler/Drag.js +++ b/lib/OpenLayers/Handler/Drag.js @@ -31,7 +31,7 @@ OpenLayers.Handler.Drag.prototype = OpenLayers.Class.inherit( OpenLayers.Handler /** * Property: oldOnselectstart - * *Private*. {Function} + * {Function} */ oldOnselectstart: null, diff --git a/lib/OpenLayers/Handler/Keyboard.js b/lib/OpenLayers/Handler/Keyboard.js index 6f52034801..9ddfb70cf3 100644 --- a/lib/OpenLayers/Handler/Keyboard.js +++ b/lib/OpenLayers/Handler/Keyboard.js @@ -27,7 +27,7 @@ OpenLayers.Handler.Keyboard.prototype = OpenLayers.Class.inherit( OpenLayers.Han /** * Property: eventListener - * *Private*. {Function} + * {Function} */ eventListener: null, diff --git a/lib/OpenLayers/Handler/MouseWheel.js b/lib/OpenLayers/Handler/MouseWheel.js index 2dedb8b90d..fabf84a485 100644 --- a/lib/OpenLayers/Handler/MouseWheel.js +++ b/lib/OpenLayers/Handler/MouseWheel.js @@ -21,7 +21,7 @@ OpenLayers.Handler.MouseWheel.prototype = OpenLayers.Class.inherit( OpenLayers.H /** * Property: mousePosition - * *Private*. {} mousePosition is necessary because + * {} mousePosition is necessary because * evt.clientX/Y is buggy in Moz on wheel events, so we cache and use the * value from the last mousemove. */ diff --git a/lib/OpenLayers/Handler/Path.js b/lib/OpenLayers/Handler/Path.js index b4d3bde5a6..5d421bbf97 100644 --- a/lib/OpenLayers/Handler/Path.js +++ b/lib/OpenLayers/Handler/Path.js @@ -21,7 +21,7 @@ OpenLayers.Handler.Path.prototype = /** * Property: line - * *Private*. {} + * {} */ line: null, @@ -66,7 +66,7 @@ OpenLayers.Handler.Path.prototype = /** * Method: createFeature - * *Private*. Add temporary geometries + * Add temporary geometries */ createFeature: function() { this.line = new OpenLayers.Feature.Vector( @@ -77,7 +77,7 @@ OpenLayers.Handler.Path.prototype = /** * Method: destroyFeature - * *Private*. Destroy temporary geometries + * Destroy temporary geometries */ destroyFeature: function() { this.line.destroy(); @@ -86,7 +86,7 @@ OpenLayers.Handler.Path.prototype = /** * Method: addPoint - * *Private*. Add point to geometry. Send the point index to override + * Add point to geometry. Send the point index to override * the behavior of LinearRing that disregards adding duplicate points. */ addPoint: function() { @@ -97,7 +97,7 @@ OpenLayers.Handler.Path.prototype = /** * Method: freehandMode - * *Private*. Determine whether to behave in freehand mode or not. + * Determine whether to behave in freehand mode or not. * * Return: {Boolean} */ @@ -108,7 +108,7 @@ OpenLayers.Handler.Path.prototype = /** * Method: modifyFeature - * *Private*. Modify the existing geometry given the new point + * Modify the existing geometry given the new point */ modifyFeature: function() { var index = this.line.geometry.components.length - 1; @@ -118,7 +118,7 @@ OpenLayers.Handler.Path.prototype = /** * Method: drawFeature - * *Private*. Render geometries on the temporary layer. + * Render geometries on the temporary layer. */ drawFeature: function() { this.layer.drawFeature(this.line, this.style); @@ -127,7 +127,7 @@ OpenLayers.Handler.Path.prototype = /** * Method: geometryClone - * *Private*. Return a clone of the relevant geometry. + * Return a clone of the relevant geometry. * * Return: {} */ @@ -137,7 +137,7 @@ OpenLayers.Handler.Path.prototype = /** * Method: mousedown - * *Private*. Handle mouse down. Add a new point to the geometry and + * Handle mouse down. Add a new point to the geometry and * render it. Return determines whether to propagate the event on the map. * * Parameters: @@ -169,7 +169,7 @@ OpenLayers.Handler.Path.prototype = /** * Method: mousemove - * *Private*. Handle mouse move. Adjust the geometry and redraw. + * Handle mouse move. Adjust the geometry and redraw. * Return determines whether to propagate the event on the map. * * Parameters: @@ -195,7 +195,7 @@ OpenLayers.Handler.Path.prototype = /** * Method: mouseup - * *Private*. Handle mouse up. Send the latest point in the geometry to + * Handle mouse up. Send the latest point in the geometry to * the control. Return determines whether to propagate the event on the map. * * Parameters: @@ -222,7 +222,7 @@ OpenLayers.Handler.Path.prototype = /** * Method: dblclick - * *Private*. Handle double-clicks. Finish the geometry and send it back + * Handle double-clicks. Finish the geometry and send it back * to the control. * * Parameters: diff --git a/lib/OpenLayers/Handler/Polygon.js b/lib/OpenLayers/Handler/Polygon.js index 9faa73d0a7..1249bbe97d 100644 --- a/lib/OpenLayers/Handler/Polygon.js +++ b/lib/OpenLayers/Handler/Polygon.js @@ -21,7 +21,7 @@ OpenLayers.Handler.Polygon.prototype = /** * Parameter: polygon - * *Private*. {} + * {} */ polygon: null,