Remove use of goog.array.forEach
This commit is contained in:
1 parent
cd152cca14
commit
496cece074
22 files changed
+68
-89
No files matched your search
@@ -29,7 +29,7 @@ describe('ol.rendering.layer.Image', function() {
|
||||
}
|
||||
};
|
||||
|
||||
goog.array.forEach(sources, function(source) {
|
||||
sources.forEach(function(source) {
|
||||
source.on('imageloadstart', function(event) {
|
||||
imagesLoading++;
|
||||
});
|
||||
@@ -84,7 +84,6 @@ describe('ol.rendering.layer.Image', function() {
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('goog.array');
|
||||
goog.require('goog.object');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.Map');
|
||||
|
||||
@@ -29,7 +29,7 @@ describe('ol.rendering.layer.Tile', function() {
|
||||
}
|
||||
};
|
||||
|
||||
goog.array.forEach(sources, function(source) {
|
||||
sources.forEach(function(source) {
|
||||
source.on('tileloadstart', function(event) {
|
||||
tilesLoading++;
|
||||
});
|
||||
@@ -190,7 +190,6 @@ describe('ol.rendering.layer.Tile', function() {
|
||||
|
||||
});
|
||||
|
||||
goog.require('goog.array');
|
||||
goog.require('goog.object');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.Map');
|
||||
|
||||
Reference in new issue
Block a user