Merge pull request #7041 from openlayers/greenkeeper/eslint-4.3.0

Update eslint to the latest version 🚀
This commit is contained in:
Andreas Hocevar authored and GitHub committed 2017-07-25 10:55:25 +02:00
commit fa41c0bad6
5 files changed
+5 -8

No files matched your search

+1 -2
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;