Put test requires on top
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
goog.provide('ol.test.reproj.Image');
|
||||
|
||||
goog.require('ol.Image');
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.reproj.Image');
|
||||
|
||||
|
||||
describe('ol.reproj.Image', function() {
|
||||
function createImage(pixelRatio) {
|
||||
return new ol.reproj.Image(
|
||||
@@ -52,9 +58,3 @@ describe('ol.reproj.Image', function() {
|
||||
image.load();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.Image');
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.reproj.Image');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.reproj');
|
||||
|
||||
goog.require('ol.reproj');
|
||||
goog.require('ol.proj');
|
||||
|
||||
|
||||
describe('ol.reproj', function() {
|
||||
|
||||
describe('#calculateSourceResolution', function() {
|
||||
@@ -40,7 +44,3 @@ describe('ol.reproj', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.reproj');
|
||||
goog.require('ol.proj');
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
goog.provide('ol.test.reproj.Tile');
|
||||
|
||||
goog.require('ol.ImageTile');
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.reproj.Tile');
|
||||
|
||||
|
||||
describe('ol.reproj.Tile', function() {
|
||||
beforeEach(function() {
|
||||
proj4.defs('EPSG:27700', '+proj=tmerc +lat_0=49 +lon_0=-2 ' +
|
||||
@@ -92,9 +98,3 @@ describe('ol.reproj.Tile', function() {
|
||||
tile.load();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.ImageTile');
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.reproj.Tile');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.reproj.Triangulation');
|
||||
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.reproj.Triangulation');
|
||||
|
||||
|
||||
describe('ol.reproj.Triangulation', function() {
|
||||
beforeEach(function() {
|
||||
proj4.defs('EPSG:27700', '+proj=tmerc +lat_0=49 +lon_0=-2 ' +
|
||||
@@ -38,7 +42,3 @@ describe('ol.reproj.Triangulation', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.reproj.Triangulation');
|
||||
|
||||
Reference in New Issue
Block a user