Rename _ol_MapBrowserEvent_ to MapBrowserEvent
This commit is contained in:
committed by
Frederic Junod
parent
a01793d3af
commit
465c248572
@@ -1,5 +1,5 @@
|
||||
import _ol_Map_ from '../../../../src/ol/Map.js';
|
||||
import _ol_MapBrowserEvent_ from '../../../../src/ol/MapBrowserEvent.js';
|
||||
import MapBrowserEvent from '../../../../src/ol/MapBrowserEvent.js';
|
||||
import _ol_View_ from '../../../../src/ol/View.js';
|
||||
import Event from '../../../../src/ol/events/Event.js';
|
||||
import _ol_interaction_Interaction_ from '../../../../src/ol/interaction/Interaction.js';
|
||||
@@ -24,7 +24,7 @@ describe('ol.interaction.KeyboardZoom', function() {
|
||||
describe('handleEvent()', function() {
|
||||
it('zooms on + and - keys', function() {
|
||||
var spy = sinon.spy(_ol_interaction_Interaction_, 'zoomByDelta');
|
||||
var event = new _ol_MapBrowserEvent_('keydown', map, {
|
||||
var event = new MapBrowserEvent('keydown', map, {
|
||||
type: 'keydown',
|
||||
target: map.getTargetElement(),
|
||||
preventDefault: Event.prototype.preventDefault
|
||||
|
||||
Reference in New Issue
Block a user