chore(package): update closure-util to version 1.11.0

- Remove closure-util.json, we're now using the same library version as closure-util
 - Disable analyzerChecks errors from closure-compiler
 - Remove WheelEvent constants from externs (fixed upstream)
 - Activate the unnecessaryCasts compiler check
This commit is contained in:
greenkeeperio-bot
2016-02-22 08:12:37 -07:00
committed by Frederic Junod
parent 4e11a86b4e
commit 7e7d8ac4e2
8 changed files with 9 additions and 27 deletions

View File

@@ -243,10 +243,10 @@ function addInteraction() {
var geom = evt.target;
var output;
if (geom instanceof ol.geom.Polygon) {
output = formatArea(/** @type {ol.geom.Polygon} */ (geom));
output = formatArea(geom);
tooltipCoord = geom.getInteriorPoint().getCoordinates();
} else if (geom instanceof ol.geom.LineString) {
output = formatLength(/** @type {ol.geom.LineString} */ (geom));
output = formatLength(geom);
tooltipCoord = geom.getLastCoordinate();
}
measureTooltipElement.innerHTML = output;