Remove use of goog.array.forEach

This commit is contained in:
Frederic Junod
2015-09-24 11:03:39 +02:00
parent cd152cca14
commit 496cece074
22 changed files with 68 additions and 89 deletions

View File

@@ -11,8 +11,8 @@ describe('ol.proj', function() {
function _testAllEquivalent(codes) {
var projections = codes.map(ol.proj.get);
goog.array.forEach(projections, function(source) {
goog.array.forEach(projections, function(destination) {
projections.forEach(function(source) {
projections.forEach(function(destination) {
expect(ol.proj.equivalent(source, destination)).to.be.ok();
});
});
@@ -522,7 +522,6 @@ describe('ol.proj', function() {
});
goog.require('goog.array');
goog.require('ol.proj');
goog.require('ol.proj.Projection');
goog.require('ol.proj.Units');