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

@@ -4,7 +4,7 @@
import {inherits} from '../index.js';
import Feature from '../Feature.js';
import MapBrowserEventType from '../MapBrowserEventType.js';
import _ol_Object_ from '../Object.js';
import BaseObject from '../Object.js';
import _ol_coordinate_ from '../coordinate.js';
import _ol_events_ from '../events.js';
import Event from '../events/Event.js';
@@ -285,7 +285,7 @@ var Draw = function(options) {
}
_ol_events_.listen(this,
_ol_Object_.getChangeEventType(_ol_interaction_Property_.ACTIVE),
BaseObject.getChangeEventType(_ol_interaction_Property_.ACTIVE),
this.updateState_, this);
};

View File

@@ -2,7 +2,7 @@
* @module ol/interaction/Interaction
*/
import {inherits} from '../index.js';
import _ol_Object_ from '../Object.js';
import BaseObject from '../Object.js';
import {easeOut, linear} from '../easing.js';
import _ol_interaction_Property_ from '../interaction/Property.js';
import {clamp} from '../math.js';
@@ -40,7 +40,7 @@ export var InteractionOptions;
*/
var Interaction = function(options) {
_ol_Object_.call(this);
BaseObject.call(this);
/**
* @private
@@ -57,7 +57,7 @@ var Interaction = function(options) {
};
inherits(Interaction, _ol_Object_);
inherits(Interaction, BaseObject);
/**

View File

@@ -3,7 +3,7 @@
*/
import {inherits} from '../index.js';
import _ol_Collection_ from '../Collection.js';
import _ol_Object_ from '../Object.js';
import BaseObject from '../Object.js';
import _ol_events_ from '../events.js';
import Event from '../events/Event.js';
import {TRUE} from '../functions.js';
@@ -80,7 +80,7 @@ var _ol_interaction_Translate_ = function(opt_options) {
this.lastFeature_ = null;
_ol_events_.listen(this,
_ol_Object_.getChangeEventType(_ol_interaction_Property_.ACTIVE),
BaseObject.getChangeEventType(_ol_interaction_Property_.ACTIVE),
this.handleActiveChanged_, this);
};