Rename _ol_interaction_Extent_ to ExtentInteraction

This commit is contained in:
Tim Schaub
2018-01-11 10:40:51 -07:00
parent dce1790886
commit c7e2f6b62f
3 changed files with 38 additions and 38 deletions

View File

@@ -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();