Merge pull request #4880 from openlayers/greenkeeper-closure-util-1.11.0
Update closure-util to version 1.11.0 🚀
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"library_url": "https://github.com/google/closure-library/archive/5b25e65.zip"
|
||||
}
|
||||
@@ -33,8 +33,8 @@
|
||||
],
|
||||
"jscomp_off": [
|
||||
"useOfGoogBase",
|
||||
"unnecessaryCasts",
|
||||
"lintChecks",
|
||||
"analyzerChecks",
|
||||
"missingProvide",
|
||||
"unknownDefines"
|
||||
],
|
||||
|
||||
@@ -34,8 +34,8 @@
|
||||
],
|
||||
"jscomp_off": [
|
||||
"useOfGoogBase",
|
||||
"unnecessaryCasts",
|
||||
"lintChecks"
|
||||
"lintChecks",
|
||||
"analyzerChecks"
|
||||
],
|
||||
"extra_annotation_name": [
|
||||
"api", "observable"
|
||||
|
||||
@@ -23,13 +23,8 @@
|
||||
],
|
||||
"jscomp_off": [
|
||||
"useOfGoogBase",
|
||||
"lintChecks"
|
||||
],
|
||||
"hide_warnings_for": [
|
||||
"node_modules/closure-util"
|
||||
],
|
||||
"jscomp_warning": [
|
||||
"unnecessaryCasts"
|
||||
"lintChecks",
|
||||
"analyzerChecks"
|
||||
],
|
||||
"extra_annotation_name": [
|
||||
"api", "observable"
|
||||
|
||||
@@ -33,7 +33,7 @@ var map = new ol.Map({
|
||||
});
|
||||
|
||||
function makeFractal(depth) {
|
||||
var geometry = /** @type {ol.geom.LineString} */ (triangle.clone());
|
||||
var geometry = triangle.clone();
|
||||
var graph = coordsToGraph(geometry.getCoordinates());
|
||||
for (var i = 0; i < depth; ++i) {
|
||||
var node = graph;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -15,13 +15,3 @@
|
||||
* @see http://www.w3.org/TR/pointerevents/#the-touch-action-css-property
|
||||
*/
|
||||
CSSProperties.prototype.touchAction;
|
||||
|
||||
/**
|
||||
* @type {number}
|
||||
*/
|
||||
WheelEvent.DOM_DELTA_LINE;
|
||||
|
||||
/**
|
||||
* @type {number}
|
||||
*/
|
||||
WheelEvent.DOM_DELTA_PIXEL;
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
"dependencies": {
|
||||
"async": "1.5.2",
|
||||
"browserify": "13.0.0",
|
||||
"closure-util": "1.10.0",
|
||||
"closure-util": "1.11.0",
|
||||
"derequire": "2.0.3",
|
||||
"fs-extra": "0.26.5",
|
||||
"glob": "6.0.4",
|
||||
|
||||
Reference in New Issue
Block a user