Rename _ol_events_Event_ to Event
This commit is contained in:
committed by
Frederic Junod
parent
9622c64bc6
commit
1cc682e488
@@ -5,7 +5,7 @@ import {ENABLE_RASTER_REPROJECTION} from '../reproj/common.js';
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_ImageState_ from '../ImageState.js';
|
||||
import _ol_array_ from '../array.js';
|
||||
import _ol_events_Event_ from '../events/Event.js';
|
||||
import Event from '../events/Event.js';
|
||||
import {equals} from '../extent.js';
|
||||
import {equivalent} from '../proj.js';
|
||||
import _ol_reproj_Image_ from '../reproj/Image.js';
|
||||
@@ -188,7 +188,7 @@ _ol_source_Image_.defaultImageLoadFunction = function(image, src) {
|
||||
*/
|
||||
_ol_source_Image_.Event = function(type, image) {
|
||||
|
||||
_ol_events_Event_.call(this, type);
|
||||
Event.call(this, type);
|
||||
|
||||
/**
|
||||
* The image related to the event.
|
||||
@@ -198,7 +198,7 @@ _ol_source_Image_.Event = function(type, image) {
|
||||
this.image = image;
|
||||
|
||||
};
|
||||
inherits(_ol_source_Image_.Event, _ol_events_Event_);
|
||||
inherits(_ol_source_Image_.Event, Event);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -6,7 +6,7 @@ import _ol_ImageCanvas_ from '../ImageCanvas.js';
|
||||
import _ol_TileQueue_ from '../TileQueue.js';
|
||||
import {createCanvasContext2D} from '../dom.js';
|
||||
import _ol_events_ from '../events.js';
|
||||
import _ol_events_Event_ from '../events/Event.js';
|
||||
import Event from '../events/Event.js';
|
||||
import _ol_events_EventType_ from '../events/EventType.js';
|
||||
import {Processor as _ol_ext_pixelworks_Processor_} from 'pixelworks';
|
||||
import {equals, getCenter, getHeight, getWidth} from '../extent.js';
|
||||
@@ -431,7 +431,7 @@ _ol_source_Raster_.createTileRenderer_ = function(source) {
|
||||
* @param {Object} data An object made available to operations.
|
||||
*/
|
||||
_ol_source_Raster_.Event = function(type, frameState, data) {
|
||||
_ol_events_Event_.call(this, type);
|
||||
Event.call(this, type);
|
||||
|
||||
/**
|
||||
* The raster extent.
|
||||
@@ -456,7 +456,7 @@ _ol_source_Raster_.Event = function(type, frameState, data) {
|
||||
this.data = data;
|
||||
|
||||
};
|
||||
inherits(_ol_source_Raster_.Event, _ol_events_Event_);
|
||||
inherits(_ol_source_Raster_.Event, Event);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import {inherits, nullFunction} from '../index.js';
|
||||
import _ol_TileCache_ from '../TileCache.js';
|
||||
import _ol_TileState_ from '../TileState.js';
|
||||
import _ol_events_Event_ from '../events/Event.js';
|
||||
import Event from '../events/Event.js';
|
||||
import {equivalent} from '../proj.js';
|
||||
import _ol_size_ from '../size.js';
|
||||
import _ol_source_Source_ from '../source/Source.js';
|
||||
@@ -320,7 +320,7 @@ _ol_source_Tile_.prototype.useTile = nullFunction;
|
||||
*/
|
||||
_ol_source_Tile_.Event = function(type, tile) {
|
||||
|
||||
_ol_events_Event_.call(this, type);
|
||||
Event.call(this, type);
|
||||
|
||||
/**
|
||||
* The tile related to the event.
|
||||
@@ -330,5 +330,5 @@ _ol_source_Tile_.Event = function(type, tile) {
|
||||
this.tile = tile;
|
||||
|
||||
};
|
||||
inherits(_ol_source_Tile_.Event, _ol_events_Event_);
|
||||
inherits(_ol_source_Tile_.Event, Event);
|
||||
export default _ol_source_Tile_;
|
||||
|
||||
@@ -9,7 +9,7 @@ import _ol_ObjectEventType_ from '../ObjectEventType.js';
|
||||
import _ol_array_ from '../array.js';
|
||||
import _ol_asserts_ from '../asserts.js';
|
||||
import _ol_events_ from '../events.js';
|
||||
import _ol_events_Event_ from '../events/Event.js';
|
||||
import Event from '../events/Event.js';
|
||||
import _ol_events_EventType_ from '../events/EventType.js';
|
||||
import {containsExtent, equals} from '../extent.js';
|
||||
import _ol_featureloader_ from '../featureloader.js';
|
||||
@@ -866,7 +866,7 @@ _ol_source_Vector_.prototype.setLoader = function(loader) {
|
||||
*/
|
||||
_ol_source_Vector_.Event = function(type, opt_feature) {
|
||||
|
||||
_ol_events_Event_.call(this, type);
|
||||
Event.call(this, type);
|
||||
|
||||
/**
|
||||
* The feature being added or removed.
|
||||
@@ -876,5 +876,5 @@ _ol_source_Vector_.Event = function(type, opt_feature) {
|
||||
this.feature = opt_feature;
|
||||
|
||||
};
|
||||
inherits(_ol_source_Vector_.Event, _ol_events_Event_);
|
||||
inherits(_ol_source_Vector_.Event, Event);
|
||||
export default _ol_source_Vector_;
|
||||
|
||||
Reference in New Issue
Block a user