Let's at least be disposable, so we can clean up after ourselves
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
goog.provide('ol.interaction.Interaction');
|
goog.provide('ol.interaction.Interaction');
|
||||||
|
|
||||||
|
goog.require('goog.Disposable');
|
||||||
goog.require('ol.MapBrowserEvent');
|
goog.require('ol.MapBrowserEvent');
|
||||||
goog.require('ol.animation.pan');
|
goog.require('ol.animation.pan');
|
||||||
goog.require('ol.animation.rotate');
|
goog.require('ol.animation.rotate');
|
||||||
@@ -12,9 +13,12 @@ goog.require('ol.easing');
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @constructor
|
* @constructor
|
||||||
|
* @extends {goog.Disposable}
|
||||||
*/
|
*/
|
||||||
ol.interaction.Interaction = function() {
|
ol.interaction.Interaction = function() {
|
||||||
|
goog.base(this);
|
||||||
};
|
};
|
||||||
|
goog.inherits(ol.interaction.Interaction, goog.Disposable);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user