diff --git a/src/ol/color.js b/src/ol/color.js index 69a39c4bef..338a23446b 100644 --- a/src/ol/color.js +++ b/src/ol/color.js @@ -1,6 +1,7 @@ goog.provide('ol.color'); goog.require('ol'); +goog.require('ol.asserts'); goog.require('ol.math'); diff --git a/src/ol/extent.js b/src/ol/extent.js index f7430cef6d..7b981dd668 100644 --- a/src/ol/extent.js +++ b/src/ol/extent.js @@ -2,6 +2,8 @@ goog.provide('ol.extent'); goog.provide('ol.extent.Corner'); goog.provide('ol.extent.Relationship'); +goog.require('ol.asserts'); + /** * Extent corner. diff --git a/src/ol/feature.js b/src/ol/feature.js index 0bb9b6b2c5..50ab18655c 100644 --- a/src/ol/feature.js +++ b/src/ol/feature.js @@ -1,5 +1,6 @@ goog.provide('ol.Feature'); +goog.require('ol.asserts'); goog.require('ol.events'); goog.require('ol.events.EventType'); goog.require('ol'); diff --git a/src/ol/format/esrijson.js b/src/ol/format/esrijson.js index c0de4c2fe7..a77bf8098b 100644 --- a/src/ol/format/esrijson.js +++ b/src/ol/format/esrijson.js @@ -2,6 +2,7 @@ goog.provide('ol.format.EsriJSON'); goog.require('ol.Feature'); goog.require('ol.array'); +goog.require('ol.asserts'); goog.require('ol.extent'); goog.require('ol.format.Feature'); goog.require('ol.format.JSONFeature'); diff --git a/src/ol/format/geojson.js b/src/ol/format/geojson.js index b5f82272fc..325d418c1b 100644 --- a/src/ol/format/geojson.js +++ b/src/ol/format/geojson.js @@ -3,6 +3,7 @@ goog.provide('ol.format.GeoJSON'); +goog.require('ol.asserts'); goog.require('ol.Feature'); goog.require('ol.format.Feature'); goog.require('ol.format.JSONFeature'); diff --git a/src/ol/format/kml.js b/src/ol/format/kml.js index 83c0c3b3b1..0950e94150 100644 --- a/src/ol/format/kml.js +++ b/src/ol/format/kml.js @@ -9,6 +9,7 @@ goog.require('goog.object'); goog.require('ol'); goog.require('ol.Feature'); goog.require('ol.array'); +goog.require('ol.asserts'); goog.require('ol.color'); goog.require('ol.format.Feature'); goog.require('ol.format.XMLFeature'); diff --git a/src/ol/format/polyline.js b/src/ol/format/polyline.js index a7b3a8ad40..2ebe960942 100644 --- a/src/ol/format/polyline.js +++ b/src/ol/format/polyline.js @@ -1,5 +1,6 @@ goog.provide('ol.format.Polyline'); +goog.require('ol.asserts'); goog.require('ol.Feature'); goog.require('ol.format.Feature'); goog.require('ol.format.TextFeature'); diff --git a/src/ol/format/wfs.js b/src/ol/format/wfs.js index 185e5c97e2..029343be2c 100644 --- a/src/ol/format/wfs.js +++ b/src/ol/format/wfs.js @@ -1,6 +1,7 @@ goog.provide('ol.format.WFS'); goog.require('ol'); +goog.require('ol.asserts'); goog.require('ol.format.GML3'); goog.require('ol.format.GMLBase'); goog.require('ol.format.ogc.filter'); diff --git a/src/ol/interaction/select.js b/src/ol/interaction/select.js index b79f016914..7badba2d1b 100644 --- a/src/ol/interaction/select.js +++ b/src/ol/interaction/select.js @@ -2,6 +2,7 @@ goog.provide('ol.interaction.Select'); goog.provide('ol.interaction.SelectEvent'); goog.provide('ol.interaction.SelectEventType'); +goog.require('ol.asserts'); goog.require('ol.functions'); goog.require('ol.Collection'); goog.require('ol.Feature'); diff --git a/src/ol/layer/group.js b/src/ol/layer/group.js index 4406463e71..394d898f8f 100644 --- a/src/ol/layer/group.js +++ b/src/ol/layer/group.js @@ -1,5 +1,6 @@ goog.provide('ol.layer.Group'); +goog.require('ol.asserts'); goog.require('ol.Collection'); goog.require('ol.Object'); goog.require('ol.ObjectEventType'); diff --git a/src/ol/layer/vectortile.js b/src/ol/layer/vectortile.js index 6a3410cb0e..843916eaee 100644 --- a/src/ol/layer/vectortile.js +++ b/src/ol/layer/vectortile.js @@ -1,5 +1,6 @@ goog.provide('ol.layer.VectorTile'); +goog.require('ol.asserts'); goog.require('ol.layer.Vector'); goog.require('ol.obj'); diff --git a/src/ol/map.js b/src/ol/map.js index 61ae009284..acd498c91b 100644 --- a/src/ol/map.js +++ b/src/ol/map.js @@ -18,6 +18,7 @@ goog.require('ol.RendererType'); goog.require('ol.TileQueue'); goog.require('ol.View'); goog.require('ol.array'); +goog.require('ol.asserts'); goog.require('ol.control'); goog.require('ol.dom'); goog.require('ol.events'); diff --git a/src/ol/math.js b/src/ol/math.js index d5308896b6..6db9774504 100644 --- a/src/ol/math.js +++ b/src/ol/math.js @@ -1,5 +1,7 @@ goog.provide('ol.math'); +goog.require('ol.asserts'); + /** * Takes a number and clamps it to within the provided bounds.