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:
+1
-1
@@ -51,7 +51,7 @@ goog.inherits(ol.Tile, goog.events.EventTarget);
|
||||
/**
|
||||
* @protected
|
||||
*/
|
||||
ol.Tile.prototype.dispatchChangeEvent = function() {
|
||||
ol.Tile.prototype.changed = function() {
|
||||
this.dispatchEvent(goog.events.EventType.CHANGE);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user