Rename ol.Observable#dispatchChangeEvent() to #changed()
Since dispatchChangeEvent does not only dispatch a change event, but also increases the revision counter, the method name should reflect this.
This commit is contained in:
@@ -69,7 +69,7 @@ goog.inherits(ol.ImageBase, goog.events.EventTarget);
|
||||
/**
|
||||
* @protected
|
||||
*/
|
||||
ol.ImageBase.prototype.dispatchChangeEvent = function() {
|
||||
ol.ImageBase.prototype.changed = function() {
|
||||
this.dispatchEvent(goog.events.EventType.CHANGE);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user