ol.handler.Drag no longer needs a disposeInternal method

This commit is contained in:
Éric Lemoine
2012-07-05 14:01:44 +02:00
parent 8e36850e7f
commit 2fcd76bd54

View File

@@ -54,12 +54,3 @@ ol.handler.Drag = function(map, elt) {
handleDragEnd, false, this);
};
goog.inherits(ol.handler.Drag, goog.Disposable);
/**
* @inheritDoc
*/
ol.handler.Drag.prototype.disposeInternal = function() {
goog.base(this, 'disposeInternal');
this.dragger_.dispose();
delete this.dragger_;
};