Remove unnecessary local variable

This commit is contained in:
Frederic Junod
2014-08-14 12:43:45 +02:00
parent 0f4e56978b
commit 102f214afe
+1 -3
View File
@@ -29,8 +29,6 @@ ol.source.TileVector = function(options) {
projection: options.projection projection: options.projection
}); });
var tileGrid = options.tileGrid;
/** /**
* @private * @private
* @type {ol.tilegrid.TileGrid} * @type {ol.tilegrid.TileGrid}
@@ -47,7 +45,7 @@ ol.source.TileVector = function(options) {
* @private * @private
* @type {ol.TileCoordTransformType} * @type {ol.TileCoordTransformType}
*/ */
this.tileCoordTransform_ = tileGrid.createTileCoordTransform(); this.tileCoordTransform_ = this.tileGrid_.createTileCoordTransform();
/** /**
* @private * @private