Merge pull request #4891 from ahocevar/fix-ie9-tests

Fix tests so they all pass in IE9
This commit is contained in:
Andreas Hocevar
2016-02-23 18:52:18 +01:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -386,7 +386,7 @@ describe('ol.array', function() {
}); });
it('extends an array in place with a big array', function() { it('extends an array in place with a big array', function() {
var a = []; var a = [];
var i = 500000; // original test has 1.000.000, but that was too slow var i = 250000; // original test has 1.000.000, but that was too slow
var bigArray = Array(i); var bigArray = Array(i);
while (i--) { while (i--) {
bigArray[i] = i; bigArray[i] = i;
+1 -1
View File
@@ -8,7 +8,7 @@ describe('ol.source.TileImage', function() {
tileGrid: opt_tileGrid || tileGrid: opt_tileGrid ||
ol.tilegrid.createForProjection(proj, undefined, [2, 2]), ol.tilegrid.createForProjection(proj, undefined, [2, 2]),
tileUrlFunction: ol.TileUrlFunction.createFromTemplate( tileUrlFunction: ol.TileUrlFunction.createFromTemplate(
'data:image/gif;base64,R0lGODlhAQABAAAAACwAAAAAAQABAAA=') 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=')
}); });
} }