remove 'empty' initialize method (method that only call the parent class). r=bartvde (closes #3146)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11610 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -54,16 +54,6 @@ OpenLayers.Control.ArgParser = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
*/
|
*/
|
||||||
displayProjection: null,
|
displayProjection: null,
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Control.ArgParser
|
|
||||||
*
|
|
||||||
* Parameters:
|
|
||||||
* options - {Object}
|
|
||||||
*/
|
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Control.prototype.initialize.apply(this, arguments);
|
|
||||||
},
|
|
||||||
|
|
||||||
getParameters: function(url) {
|
getParameters: function(url) {
|
||||||
url = url || window.location.href;
|
url = url || window.location.href;
|
||||||
var parameters = OpenLayers.Util.getParameters(url);
|
var parameters = OpenLayers.Util.getParameters(url);
|
||||||
|
|||||||
@@ -24,16 +24,6 @@ OpenLayers.Control.Attribution =
|
|||||||
*/
|
*/
|
||||||
separator: ", ",
|
separator: ", ",
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Control.Attribution
|
|
||||||
*
|
|
||||||
* Parameters:
|
|
||||||
* options - {Object} Options for control.
|
|
||||||
*/
|
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Control.prototype.initialize.apply(this, arguments);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method: destroy
|
* Method: destroy
|
||||||
* Destroy control.
|
* Destroy control.
|
||||||
|
|||||||
@@ -34,13 +34,6 @@ OpenLayers.Control.KeyboardDefaults = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
*/
|
*/
|
||||||
slideFactor: 75,
|
slideFactor: 75,
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Control.KeyboardDefaults
|
|
||||||
*/
|
|
||||||
initialize: function() {
|
|
||||||
OpenLayers.Control.prototype.initialize.apply(this, arguments);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIMethod: destroy
|
* APIMethod: destroy
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -81,16 +81,6 @@ OpenLayers.Control.MousePosition = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
*/
|
*/
|
||||||
displayProjection: null,
|
displayProjection: null,
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Control.MousePosition
|
|
||||||
*
|
|
||||||
* Parameters:
|
|
||||||
* options - {Object} Options for control.
|
|
||||||
*/
|
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Control.prototype.initialize.apply(this, arguments);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method: destroy
|
* Method: destroy
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -84,13 +84,6 @@ OpenLayers.Control.PanZoomBar = OpenLayers.Class(OpenLayers.Control.PanZoom, {
|
|||||||
*/
|
*/
|
||||||
zoomStart: null,
|
zoomStart: null,
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Control.PanZoomBar
|
|
||||||
*/
|
|
||||||
initialize: function() {
|
|
||||||
OpenLayers.Control.PanZoom.prototype.initialize.apply(this, arguments);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIMethod: destroy
|
* APIMethod: destroy
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -72,18 +72,6 @@ OpenLayers.Control.ScaleLine = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
*/
|
*/
|
||||||
geodesic: false,
|
geodesic: false,
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Control.ScaleLine
|
|
||||||
* Create a new scale line control.
|
|
||||||
*
|
|
||||||
* Parameters:
|
|
||||||
* options - {Object} An optional object whose properties will be used
|
|
||||||
* to extend the control.
|
|
||||||
*/
|
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Control.prototype.initialize.apply(this, [options]);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method: draw
|
* Method: draw
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user