Rename _ol_ResolutionConstraint_ to ResolutionConstraint
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import _ol_ResolutionConstraint_ from '../../../src/ol/ResolutionConstraint.js';
|
||||
import ResolutionConstraint from '../../../src/ol/ResolutionConstraint.js';
|
||||
|
||||
|
||||
describe('ol.ResolutionConstraint', function() {
|
||||
@@ -8,7 +8,7 @@ describe('ol.ResolutionConstraint', function() {
|
||||
var resolutionConstraint;
|
||||
|
||||
beforeEach(function() {
|
||||
resolutionConstraint = _ol_ResolutionConstraint_.createSnapToResolutions(
|
||||
resolutionConstraint = ResolutionConstraint.createSnapToResolutions(
|
||||
[1000, 500, 250, 100]);
|
||||
});
|
||||
|
||||
@@ -46,7 +46,7 @@ describe('ol.ResolutionConstraint', function() {
|
||||
|
||||
beforeEach(function() {
|
||||
resolutionConstraint =
|
||||
_ol_ResolutionConstraint_.createSnapToResolutions(
|
||||
ResolutionConstraint.createSnapToResolutions(
|
||||
[1000, 500, 250, 100]);
|
||||
});
|
||||
|
||||
@@ -96,7 +96,7 @@ describe('ol.ResolutionConstraint', function() {
|
||||
|
||||
beforeEach(function() {
|
||||
resolutionConstraint =
|
||||
_ol_ResolutionConstraint_.createSnapToPower(2, 1024, 10);
|
||||
ResolutionConstraint.createSnapToPower(2, 1024, 10);
|
||||
});
|
||||
|
||||
describe('delta 0', function() {
|
||||
@@ -154,7 +154,7 @@ describe('ol.ResolutionConstraint', function() {
|
||||
|
||||
beforeEach(function() {
|
||||
resolutionConstraint =
|
||||
_ol_ResolutionConstraint_.createSnapToPower(2, 1024, 10);
|
||||
ResolutionConstraint.createSnapToPower(2, 1024, 10);
|
||||
});
|
||||
|
||||
describe('delta 0, direction 0', function() {
|
||||
|
||||
Reference in New Issue
Block a user