Redefine ol.Size to be Array.<number>

This commit is contained in:
Frederic Junod
2013-05-31 16:24:47 +02:00
parent 1d7ca27e61
commit a1a7e21f92
33 changed files with 139 additions and 157 deletions
+1 -2
View File
@@ -102,8 +102,7 @@ describe('ol.TileRange', function() {
it('returns the expected size', function() {
var tileRange = new ol.TileRange(0, 2, 1, 4);
var size = tileRange.getSize();
expect(size.width).to.eql(3);
expect(size.height).to.eql(4);
expect(size).to.eql([3, 4]);
});
});