From d3f90418df8a2a167a79c67c2ebd899bb9c18425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Tue, 17 Dec 2013 10:39:40 +0100 Subject: [PATCH] Make Interaction inherit from Observable --- src/ol/interaction/interaction.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ol/interaction/interaction.js b/src/ol/interaction/interaction.js index 2fdbf57cdf..789f9c0812 100644 --- a/src/ol/interaction/interaction.js +++ b/src/ol/interaction/interaction.js @@ -3,8 +3,8 @@ goog.provide('ol.interaction.Interaction'); goog.require('goog.asserts'); -goog.require('goog.events.EventTarget'); goog.require('ol.MapBrowserEvent'); +goog.require('ol.Observable'); goog.require('ol.View2D'); goog.require('ol.animation'); goog.require('ol.easing'); @@ -13,7 +13,7 @@ goog.require('ol.easing'); /** * @constructor - * @extends {goog.events.EventTarget} + * @extends {ol.Observable} */ ol.interaction.Interaction = function() { goog.base(this); @@ -25,7 +25,7 @@ ol.interaction.Interaction = function() { this.map_ = null; }; -goog.inherits(ol.interaction.Interaction, goog.events.EventTarget); +goog.inherits(ol.interaction.Interaction, ol.Observable); /**