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

@@ -3,7 +3,7 @@
*/
import {inherits} from './index.js';
import MapEventType from './MapEventType.js';
import _ol_Object_ from './Object.js';
import BaseObject from './Object.js';
import OverlayPositioning from './OverlayPositioning.js';
import {CLASS_SELECTABLE} from './css.js';
import {removeNode, removeChildren, outerWidth, outerHeight} from './dom.js';
@@ -47,7 +47,7 @@ var Property = {
*/
var Overlay = function(options) {
_ol_Object_.call(this);
BaseObject.call(this);
/**
* @protected
@@ -126,23 +126,23 @@ var Overlay = function(options) {
this.mapPostrenderListenerKey = null;
_ol_events_.listen(
this, _ol_Object_.getChangeEventType(Property.ELEMENT),
this, BaseObject.getChangeEventType(Property.ELEMENT),
this.handleElementChanged, this);
_ol_events_.listen(
this, _ol_Object_.getChangeEventType(Property.MAP),
this, BaseObject.getChangeEventType(Property.MAP),
this.handleMapChanged, this);
_ol_events_.listen(
this, _ol_Object_.getChangeEventType(Property.OFFSET),
this, BaseObject.getChangeEventType(Property.OFFSET),
this.handleOffsetChanged, this);
_ol_events_.listen(
this, _ol_Object_.getChangeEventType(Property.POSITION),
this, BaseObject.getChangeEventType(Property.POSITION),
this.handlePositionChanged, this);
_ol_events_.listen(
this, _ol_Object_.getChangeEventType(Property.POSITIONING),
this, BaseObject.getChangeEventType(Property.POSITIONING),
this.handlePositioningChanged, this);
if (options.element !== undefined) {
@@ -161,7 +161,7 @@ var Overlay = function(options) {
};
inherits(Overlay, _ol_Object_);
inherits(Overlay, BaseObject);
/**