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

View File

@@ -26,23 +26,21 @@ OpenLayers.Control.prototype = {
/**
* Controls can have a 'type'. The type determines the type of interactions
* which are possible with them when they are placed into a toolbar.
*
* @type OpenLayers.Control.TYPES
*/
type: null,
/** This property is used for CSS related to the drawing of the Control.
*
* @type string
*/
displayClass: "",
/**
* @type boolean
*/
/** @type boolean */
active: null,
/**
* @type OpenLayers.Handler
*/
/** @type OpenLayers.Handler */
handler: null,
/**
@@ -53,7 +51,8 @@ OpenLayers.Control.prototype = {
initialize: function (options) {
// We do this before the extend so that instances can override
// 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);