Use inherited dispatchChangeEvent in ol.layer.Base

This commit is contained in:
Tom Payne
2014-01-21 14:13:10 +01:00
parent edcb38232f
commit 863e77e16e

View File

@@ -3,7 +3,6 @@ goog.provide('ol.layer.LayerProperty');
goog.provide('ol.layer.LayerState');
goog.require('goog.events');
goog.require('goog.events.EventType');
goog.require('goog.math');
goog.require('goog.object');
goog.require('ol.Object');
@@ -75,14 +74,6 @@ ol.layer.Base = function(options) {
goog.inherits(ol.layer.Base, ol.Object);
/**
* @protected
*/
ol.layer.Base.prototype.dispatchChangeEvent = function() {
this.dispatchEvent(goog.events.EventType.CHANGE);
};
/**
* @return {number|undefined} Brightness.
*/