Rename _ol_events_Event_ to Event
This commit is contained in:
committed by
Frederic Junod
parent
9622c64bc6
commit
1cc682e488
@@ -6,7 +6,7 @@
|
||||
import {inherits} from '../index.js';
|
||||
import {TRUE} from '../functions.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 _ol_interaction_Interaction_ from '../interaction/Interaction.js';
|
||||
import {get as getProjection} from '../proj.js';
|
||||
@@ -253,7 +253,7 @@ _ol_interaction_DragAndDrop_.EventType_ = {
|
||||
*/
|
||||
_ol_interaction_DragAndDrop_.Event = function(type, file, opt_features, opt_projection) {
|
||||
|
||||
_ol_events_Event_.call(this, type);
|
||||
Event.call(this, type);
|
||||
|
||||
/**
|
||||
* The features parsed from dropped data.
|
||||
@@ -277,5 +277,5 @@ _ol_interaction_DragAndDrop_.Event = function(type, file, opt_features, opt_proj
|
||||
this.projection = opt_projection;
|
||||
|
||||
};
|
||||
inherits(_ol_interaction_DragAndDrop_.Event, _ol_events_Event_);
|
||||
inherits(_ol_interaction_DragAndDrop_.Event, Event);
|
||||
export default _ol_interaction_DragAndDrop_;
|
||||
|
||||
Reference in New Issue
Block a user