Rename _ol_interaction_Extent_ to ExtentInteraction
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import Map from '../../../../src/ol/Map.js';
|
||||
import MapBrowserPointerEvent from '../../../../src/ol/MapBrowserPointerEvent.js';
|
||||
import View from '../../../../src/ol/View.js';
|
||||
import _ol_interaction_Extent_ from '../../../../src/ol/interaction/Extent.js';
|
||||
import ExtentInteraction from '../../../../src/ol/interaction/Extent.js';
|
||||
import _ol_pointer_PointerEvent_ from '../../../../src/ol/pointer/PointerEvent.js';
|
||||
|
||||
describe('ol.interaction.Extent', function() {
|
||||
@@ -24,7 +24,7 @@ describe('ol.interaction.Extent', function() {
|
||||
});
|
||||
map.renderSync();
|
||||
|
||||
interaction = new _ol_interaction_Extent_();
|
||||
interaction = new ExtentInteraction();
|
||||
map.addInteraction(interaction);
|
||||
});
|
||||
|
||||
@@ -66,7 +66,7 @@ describe('ol.interaction.Extent', function() {
|
||||
|
||||
it('can be configured with an extent', function() {
|
||||
expect(function() {
|
||||
new _ol_interaction_Extent_({
|
||||
new ExtentInteraction({
|
||||
extent: [-10, -10, 10, 10]
|
||||
});
|
||||
}).to.not.throwException();
|
||||
|
||||
Reference in New Issue
Block a user