Rename _ol_ResolutionConstraint_ to ResolutionConstraint

This commit is contained in:
Tim Schaub
2018-01-08 09:51:40 -07:00
parent c2a75c9040
commit 073e7dc829
3 changed files with 12 additions and 12 deletions
+5 -5
View File
@@ -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() {