Merge pull request #6443 from openlayers/goog.require

goog.require cleanup
This commit is contained in:
Frédéric Junod
2017-02-03 14:56:53 +01:00
committed by GitHub
33 changed files with 7 additions and 36 deletions
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.animation');
goog.require('ol');
goog.require('ol.ViewHint');
goog.require('ol.coordinate');
goog.require('ol.easing');
-2
View File
@@ -1,7 +1,5 @@
goog.provide('ol.array');
goog.require('ol');
/**
* Performs a binary search on the provided sorted list and returns the index of the item if found. If it can't be found it'll return -1.
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.control');
goog.require('ol');
goog.require('ol.Collection');
goog.require('ol.control.Attribution');
goog.require('ol.control.Rotate');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.extent');
goog.require('ol');
goog.require('ol.asserts');
goog.require('ol.extent.Corner');
goog.require('ol.extent.Relationship');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.format.filter');
goog.require('ol');
goog.require('ol.format.filter.And');
goog.require('ol.format.filter.Bbox');
goog.require('ol.format.filter.EqualTo');
-2
View File
@@ -1,7 +1,5 @@
goog.provide('ol.format.filter.Filter');
goog.require('ol');
/**
* @classdesc
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.format.XSD');
goog.require('ol');
goog.require('ol.xml');
goog.require('ol.string');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.geom.flat.closest');
goog.require('ol');
goog.require('ol.math');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.geom.flat.contains');
goog.require('ol');
goog.require('ol.extent');
-2
View File
@@ -1,7 +1,5 @@
goog.provide('ol.geom.flat.deflate');
goog.require('ol');
/**
* @param {Array.<number>} flatCoordinates Flat coordinates.
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.geom.flat.geodesic');
goog.require('ol');
goog.require('ol.math');
goog.require('ol.proj');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.geom.flat.interiorpoint');
goog.require('ol');
goog.require('ol.array');
goog.require('ol.geom.flat.contains');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.geom.flat.interpolate');
goog.require('ol');
goog.require('ol.array');
goog.require('ol.math');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.geom.flat.intersectsextent');
goog.require('ol');
goog.require('ol.extent');
goog.require('ol.geom.flat.contains');
goog.require('ol.geom.flat.segments');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.geom.flat.orient');
goog.require('ol');
goog.require('ol.geom.flat.reverse');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.Graticule');
goog.require('ol');
goog.require('ol.extent');
goog.require('ol.geom.GeometryLayout');
goog.require('ol.geom.LineString');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.interaction');
goog.require('ol');
goog.require('ol.Collection');
goog.require('ol.Kinetic');
goog.require('ol.interaction.DoubleClickZoom');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.math');
goog.require('ol');
goog.require('ol.asserts');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.proj.transforms');
goog.require('ol');
goog.require('ol.obj');
-1
View File
@@ -8,7 +8,6 @@ goog.require('ol.geom.flat.transform');
goog.require('ol.has');
goog.require('ol.obj');
goog.require('ol.render.VectorContext');
goog.require('ol.render.canvas');
goog.require('ol.render.canvas.Instruction');
goog.require('ol.transform');
+3
View File
@@ -1,5 +1,8 @@
goog.provide('ol.render.webgl');
goog.require('ol');
if (ol.ENABLE_WEBGL) {
/**
-1
View File
@@ -5,7 +5,6 @@ goog.require('ol.extent');
goog.require('ol.obj');
goog.require('ol.render.webgl.imagereplay.defaultshader');
goog.require('ol.render.webgl.Replay');
goog.require('ol.render.webgl');
goog.require('ol.webgl');
goog.require('ol.webgl.Buffer');
goog.require('ol.webgl.Context');
-1
View File
@@ -6,7 +6,6 @@ goog.require('ol.geom.GeometryType');
goog.require('ol.render.ReplayType');
goog.require('ol.render.VectorContext');
goog.require('ol.render.webgl.ReplayGroup');
goog.require('ol.render.webgl');
if (ol.ENABLE_WEBGL) {
-1
View File
@@ -6,7 +6,6 @@ goog.require('ol.extent');
goog.require('ol.obj');
goog.require('ol.render.replay');
goog.require('ol.render.ReplayGroup');
goog.require('ol.render.webgl');
goog.require('ol.render.webgl.CircleReplay');
goog.require('ol.render.webgl.ImageReplay');
goog.require('ol.render.webgl.LineStringReplay');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.reproj');
goog.require('ol');
goog.require('ol.dom');
goog.require('ol.extent');
goog.require('ol.math');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.structs.LRUCache');
goog.require('ol');
goog.require('ol.asserts');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.structs.PriorityQueue');
goog.require('ol');
goog.require('ol.asserts');
goog.require('ol.obj');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.style.Atlas');
goog.require('ol');
goog.require('ol.dom');
+1 -3
View File
@@ -1,6 +1,5 @@
goog.provide('ol.style.IconImageCache');
goog.require('ol');
goog.require('ol.color');
@@ -87,8 +86,7 @@ ol.style.IconImageCache.prototype.get = function(src, crossOrigin, color) {
* @param {ol.Color} color Color.
* @param {ol.style.IconImage} iconImage Icon image.
*/
ol.style.IconImageCache.prototype.set = function(src, crossOrigin, color,
iconImage) {
ol.style.IconImageCache.prototype.set = function(src, crossOrigin, color, iconImage) {
var key = ol.style.IconImageCache.getKey(src, crossOrigin, color);
this.cache_[key] = iconImage;
++this.cacheSize_;
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.TileUrlFunction');
goog.require('ol');
goog.require('ol.asserts');
goog.require('ol.math');
goog.require('ol.tilecoord');
+2
View File
@@ -1,5 +1,7 @@
goog.provide('ol.webgl');
goog.require('ol');
if (ol.ENABLE_WEBGL) {
+1 -1
View File
@@ -1,7 +1,7 @@
goog.provide('ol.webgl.Shader');
goog.require('ol');
goog.require('ol.functions');
goog.require('ol.webgl');
if (ol.ENABLE_WEBGL) {
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.xml');
goog.require('ol');
goog.require('ol.array');