Put test requires on top
This commit is contained in:
@@ -1,5 +1,16 @@
|
||||
goog.provide('ol.test.layer.Group');
|
||||
|
||||
goog.require('ol.array');
|
||||
goog.require('ol.Collection');
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.layer.Group');
|
||||
goog.require('ol.layer.Layer');
|
||||
goog.require('ol.obj');
|
||||
goog.require('ol.renderer.Map');
|
||||
goog.require('ol.source.Source');
|
||||
|
||||
|
||||
describe('ol.layer.Group', function() {
|
||||
|
||||
describe('constructor (defaults)', function() {
|
||||
@@ -488,13 +499,3 @@ describe('ol.layer.Group', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.array');
|
||||
goog.require('ol.Collection');
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.layer.Group');
|
||||
goog.require('ol.layer.Layer');
|
||||
goog.require('ol.obj');
|
||||
goog.require('ol.renderer.Map');
|
||||
goog.require('ol.source.Source');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.layer.Heatmap');
|
||||
|
||||
goog.require('ol.layer.Heatmap');
|
||||
|
||||
|
||||
describe('ol.layer.Heatmap', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
@@ -12,5 +15,3 @@ describe('ol.layer.Heatmap', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.layer.Heatmap');
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
goog.provide('ol.test.layer.Layer');
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.layer.Layer');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.render.Event');
|
||||
goog.require('ol.source.Source');
|
||||
|
||||
|
||||
describe('ol.layer.Layer', function() {
|
||||
|
||||
describe('constructor (defaults)', function() {
|
||||
@@ -431,9 +438,3 @@ describe('ol.layer.Layer', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.layer.Layer');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.render.Event');
|
||||
goog.require('ol.source.Source');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.layer.Tile');
|
||||
|
||||
goog.require('ol.layer.Tile');
|
||||
goog.require('ol.source.OSM');
|
||||
|
||||
|
||||
describe('ol.layer.Tile', function() {
|
||||
|
||||
describe('constructor (defaults)', function() {
|
||||
@@ -31,6 +35,3 @@ describe('ol.layer.Tile', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.layer.Tile');
|
||||
goog.require('ol.source.OSM');
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
goog.provide('ol.test.layer.Vector');
|
||||
|
||||
goog.require('ol.layer.Layer');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.source.Vector');
|
||||
goog.require('ol.style.Style');
|
||||
|
||||
|
||||
describe('ol.layer.Vector', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
@@ -120,8 +126,3 @@ describe('ol.layer.Vector', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.layer.Layer');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.source.Vector');
|
||||
goog.require('ol.style.Style');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.layer.VectorTile');
|
||||
|
||||
goog.require('ol.layer.VectorTile');
|
||||
goog.require('ol.source.VectorTile');
|
||||
|
||||
|
||||
describe('ol.layer.VectorTile', function() {
|
||||
|
||||
describe('constructor (defaults)', function() {
|
||||
@@ -56,6 +60,3 @@ describe('ol.layer.VectorTile', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.layer.VectorTile');
|
||||
goog.require('ol.source.VectorTile');
|
||||
|
||||
Reference in New Issue
Block a user