Remove lint

This commit is contained in:
Andreas Hocevar
2017-07-25 10:42:18 +02:00
parent 1b34dd945e
commit dd878e2a4c
4 changed files with 4 additions and 7 deletions

View File

@@ -414,8 +414,7 @@ ol.render.canvas.Replay.prototype.replay_ = function(
break;
case ol.render.canvas.Instruction.END_GEOMETRY:
if (featureCallback !== undefined) {
feature =
/** @type {ol.Feature|ol.render.Feature} */ (instruction[1]);
feature = /** @type {ol.Feature|ol.render.Feature} */ (instruction[1]);
var result = featureCallback(feature);
if (result) {
return result;

View File

@@ -140,7 +140,7 @@ ol.renderer.canvas.VectorTileLayer.prototype.createReplayGroup_ = function(
0,
-sourceTileExtent[0], -sourceTileExtent[3]);
extent = (ol.transform.apply(transform, [sharedExtent[0], sharedExtent[3]])
.concat(ol.transform.apply(transform, [sharedExtent[2], sharedExtent[1]])));
.concat(ol.transform.apply(transform, [sharedExtent[2], sharedExtent[1]])));
} else {
tileResolution = resolution;
extent = sharedExtent;

View File

@@ -74,8 +74,7 @@ ol.source.ImageWMS = function(opt_options) {
* @private
* @type {ol.source.WMSServerType|undefined}
*/
this.serverType_ =
/** @type {ol.source.WMSServerType|undefined} */ (options.serverType);
this.serverType_ = /** @type {ol.source.WMSServerType|undefined} */ (options.serverType);
/**
* @private

View File

@@ -71,8 +71,7 @@ ol.source.TileWMS = function(opt_options) {
* @private
* @type {ol.source.WMSServerType|undefined}
*/
this.serverType_ =
/** @type {ol.source.WMSServerType|undefined} */ (options.serverType);
this.serverType_ = /** @type {ol.source.WMSServerType|undefined} */ (options.serverType);
/**
* @private