From 8ba31e4a914ac025d7fea06e8fad1a233b166b40 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Tue, 31 Mar 2009 21:57:08 +0000 Subject: [PATCH] Consistent event type listing for controls. git-svn-id: http://svn.openlayers.org/trunk/openlayers@9154 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Control.js | 8 ++++---- lib/OpenLayers/Control/DrawFeature.js | 2 +- lib/OpenLayers/Control/Measure.js | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/OpenLayers/Control.js b/lib/OpenLayers/Control.js index 7143d54b44..bf401a888a 100644 --- a/lib/OpenLayers/Control.js +++ b/lib/OpenLayers/Control.js @@ -145,14 +145,14 @@ OpenLayers.Control = OpenLayers.Class({ * properties of this event depends on exactly what happened. * * All event objects have at least the following properties: - * - *object* {Object} A reference to control.events.object (a reference + * object - {Object} A reference to control.events.object (a reference * to the control). - * - *element* {DOMElement} A reference to control.events.element (which + * element - {DOMElement} A reference to control.events.element (which * will be null unless documented otherwise). * * Supported map event types: - * - *activate* Triggered when activated. - * - *deactivate* Triggered when deactivated. + * activate - Triggered when activated. + * deactivate - Triggered when deactivated. */ EVENT_TYPES: ["activate", "deactivate"], diff --git a/lib/OpenLayers/Control/DrawFeature.js b/lib/OpenLayers/Control/DrawFeature.js index adda7d0b73..2dc16dd526 100644 --- a/lib/OpenLayers/Control/DrawFeature.js +++ b/lib/OpenLayers/Control/DrawFeature.js @@ -34,7 +34,7 @@ OpenLayers.Control.DrawFeature = OpenLayers.Class(OpenLayers.Control, { * Constant: EVENT_TYPES * * Supported event types: - * - *featureadded* Triggered when a feature is added + * featureadded - Triggered when a feature is added */ EVENT_TYPES: ["featureadded"], diff --git a/lib/OpenLayers/Control/Measure.js b/lib/OpenLayers/Control/Measure.js index 0a5be55e5a..fee9c9f3b5 100644 --- a/lib/OpenLayers/Control/Measure.js +++ b/lib/OpenLayers/Control/Measure.js @@ -28,10 +28,10 @@ OpenLayers.Control.Measure = OpenLayers.Class(OpenLayers.Control, { * properties of this event depends on exactly what happened. * * Supported control event types (in addition to those from ): - * - *measure* Triggered when a measurement sketch is complete. Listeners + * measure - Triggered when a measurement sketch is complete. Listeners * will receive an event with measure, units, order, and geometry * properties. - * - *measurepartial* Triggered when a new point is added to the + * measurepartial - Triggered when a new point is added to the * measurement sketch. Listeners receive an event with measure, * units, order, and geometry. */