From 6ab0ed2df72822705f1d4ec026bb259a3e638744 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 2 Mar 2015 14:48:17 +0100 Subject: [PATCH] Make ol.source.Source inherit from ol.Object --- src/ol/source/source.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ol/source/source.js b/src/ol/source/source.js index a54d304caa..58745b22db 100644 --- a/src/ol/source/source.js +++ b/src/ol/source/source.js @@ -3,7 +3,7 @@ goog.provide('ol.source.State'); goog.require('goog.events.EventType'); goog.require('ol.Attribution'); -goog.require('ol.Observable'); +goog.require('ol.Object'); goog.require('ol.proj'); @@ -37,7 +37,7 @@ ol.source.SourceOptions; * Base class for {@link ol.layer.Layer} sources. * * @constructor - * @extends {ol.Observable} + * @extends {ol.Object} * @fires change Triggered when the state of the source changes. * @param {ol.source.SourceOptions} options Source options. * @api stable @@ -73,7 +73,7 @@ ol.source.Source = function(options) { options.state : ol.source.State.READY; }; -goog.inherits(ol.source.Source, ol.Observable); +goog.inherits(ol.source.Source, ol.Object); /**