Rename _ol_Object_ to BaseObject

This commit is contained in:
Tim Schaub
2018-01-08 10:03:31 -07:00
parent 35db8721b2
commit 24dd0ca924
21 changed files with 95 additions and 95 deletions

View File

@@ -10,7 +10,7 @@ import MapBrowserEventType from './MapBrowserEventType.js';
import MapEvent from './MapEvent.js';
import MapEventType from './MapEventType.js';
import _ol_MapProperty_ from './MapProperty.js';
import _ol_Object_ from './Object.js';
import BaseObject from './Object.js';
import ObjectEventType from './ObjectEventType.js';
import TileQueue from './TileQueue.js';
import View from './View.js';
@@ -111,7 +111,7 @@ export var MapOptions;
*/
var PluggableMap = function(options) {
_ol_Object_.call(this);
BaseObject.call(this);
var optionsInternal = createOptionsInternal(options);
@@ -337,13 +337,13 @@ var PluggableMap = function(options) {
this.skippedFeatureUids_ = {};
_ol_events_.listen(
this, _ol_Object_.getChangeEventType(_ol_MapProperty_.LAYERGROUP),
this, BaseObject.getChangeEventType(_ol_MapProperty_.LAYERGROUP),
this.handleLayerGroupChanged_, this);
_ol_events_.listen(this, _ol_Object_.getChangeEventType(_ol_MapProperty_.VIEW),
_ol_events_.listen(this, BaseObject.getChangeEventType(_ol_MapProperty_.VIEW),
this.handleViewChanged_, this);
_ol_events_.listen(this, _ol_Object_.getChangeEventType(_ol_MapProperty_.SIZE),
_ol_events_.listen(this, BaseObject.getChangeEventType(_ol_MapProperty_.SIZE),
this.handleSizeChanged_, this);
_ol_events_.listen(this, _ol_Object_.getChangeEventType(_ol_MapProperty_.TARGET),
_ol_events_.listen(this, BaseObject.getChangeEventType(_ol_MapProperty_.TARGET),
this.handleTargetChanged_, this);
// setProperties will trigger the rendering of the map if the map
@@ -425,7 +425,7 @@ var PluggableMap = function(options) {
};
inherits(PluggableMap, _ol_Object_);
inherits(PluggableMap, BaseObject);
/**
@@ -505,7 +505,7 @@ PluggableMap.prototype.disposeInternal = function() {
this.animationDelayKey_ = undefined;
}
this.setTarget(null);
_ol_Object_.prototype.disposeInternal.call(this);
BaseObject.prototype.disposeInternal.call(this);
};