ol.handler.Drag no longer needs a disposeInternal method
This commit is contained in:
@@ -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_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user