coding standards

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3263 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-06-06 18:12:27 +00:00
parent 964b09a15f
commit 172bbcb3df
+6 -7
View File
@@ -26,23 +26,21 @@ OpenLayers.Control.prototype = {
/** /**
* Controls can have a 'type'. The type determines the type of interactions * Controls can have a 'type'. The type determines the type of interactions
* which are possible with them when they are placed into a toolbar. * which are possible with them when they are placed into a toolbar.
*
* @type OpenLayers.Control.TYPES * @type OpenLayers.Control.TYPES
*/ */
type: null, type: null,
/** This property is used for CSS related to the drawing of the Control. /** This property is used for CSS related to the drawing of the Control.
*
* @type string * @type string
*/ */
displayClass: "", displayClass: "",
/** /** @type boolean */
* @type boolean
*/
active: null, active: null,
/** /** @type OpenLayers.Handler */
* @type OpenLayers.Handler
*/
handler: null, handler: null,
/** /**
@@ -53,7 +51,8 @@ OpenLayers.Control.prototype = {
initialize: function (options) { initialize: function (options) {
// We do this before the extend so that instances can override // We do this before the extend so that instances can override
// className in options. // className in options.
this.displayClass = this.CLASS_NAME.replace("OpenLayers.", "ol").replace(".",""); this.displayClass =
this.CLASS_NAME.replace("OpenLayers.", "ol").replace(".","");
OpenLayers.Util.extend(this, options); OpenLayers.Util.extend(this, options);