remove unneeded destroy and initialize function. r=erilem (closes #3341)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@12386 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Frédéric Junod
2011-09-17 19:20:40 +00:00
parent 501b42228a
commit 9264d57a3c
21 changed files with 2 additions and 104 deletions

View File

@@ -146,9 +146,6 @@ OpenLayers.Handler.Click = OpenLayers.Class(OpenLayers.Handler, {
* options - {Object} Optional object whose properties will be set on the
* handler.
*/
initialize: function(control, callbacks, options) {
OpenLayers.Handler.prototype.initialize.apply(this, arguments);
},
/**
* Method: touchstart

View File

@@ -69,9 +69,6 @@ OpenLayers.Handler.Hover = OpenLayers.Class(OpenLayers.Handler, {
* options - {Object} An optional object whose properties will be set on
* the handler.
*/
initialize: function(control, callbacks, options) {
OpenLayers.Handler.prototype.initialize.apply(this, arguments);
},
/**
* Method: mousemove

View File

@@ -95,10 +95,7 @@ OpenLayers.Handler.Path = OpenLayers.Class(OpenLayers.Handler.Point, {
* cancel - Called when the handler is deactivated while drawing. The
* cancel callback will receive a geometry.
*/
initialize: function(control, callbacks, options) {
OpenLayers.Handler.Point.prototype.initialize.apply(this, arguments);
},
/**
* Method: createFeature
* Add temporary geometries

View File

@@ -74,9 +74,6 @@ OpenLayers.Handler.Pinch = OpenLayers.Class(OpenLayers.Handler, {
* information about scale, distance, and position of touch points.
* options - {Object}
*/
initialize: function(control, callbacks, options) {
OpenLayers.Handler.prototype.initialize.apply(this, arguments);
},
/**
* Method: touchstart

View File

@@ -62,9 +62,6 @@ OpenLayers.Handler.Polygon = OpenLayers.Class(OpenLayers.Handler.Path, {
* cancel - Called when the handler is deactivated while drawing. The
* cancel callback will receive a geometry.
*/
initialize: function(control, callbacks, options) {
OpenLayers.Handler.Path.prototype.initialize.apply(this, arguments);
},
/**
* Method: createFeature