From 03038b123f5896ca1feb06cab09050d13958c6a7 Mon Sep 17 00:00:00 2001 From: greenkeeperio-bot Date: Tue, 29 Mar 2016 02:02:53 -0700 Subject: [PATCH 1/3] chore(package): update closure-util to version 1.13.0 http://greenkeeper.io/ --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7b58d9f216..1343b30b9c 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "dependencies": { "async": "1.5.2", "browserify": "13.0.0", - "closure-util": "1.12.0", + "closure-util": "1.13.0", "derequire": "2.0.3", "fs-extra": "0.26.6", "glob": "6.0.4", From f29bc74b7f4519f2fc5ac7cb2628831270487cdd Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Tue, 29 Mar 2016 11:22:55 +0200 Subject: [PATCH 2/3] Ignore unnecessaryCasts errors --- config/example.json | 1 + config/examples-all.json | 1 + config/ol.json | 1 + 3 files changed, 3 insertions(+) diff --git a/config/example.json b/config/example.json index 5ed49aa7da..e5ac3aaf7b 100644 --- a/config/example.json +++ b/config/example.json @@ -31,6 +31,7 @@ "*" ], "jscomp_off": [ + "unnecessaryCasts", "useOfGoogBase", "lintChecks", "analyzerChecks", diff --git a/config/examples-all.json b/config/examples-all.json index fb3c2d2874..40d452b4b3 100644 --- a/config/examples-all.json +++ b/config/examples-all.json @@ -32,6 +32,7 @@ "*" ], "jscomp_off": [ + "unnecessaryCasts", "useOfGoogBase", "lintChecks", "analyzerChecks" diff --git a/config/ol.json b/config/ol.json index 1a4071d6a0..37039fac71 100644 --- a/config/ol.json +++ b/config/ol.json @@ -21,6 +21,7 @@ "*" ], "jscomp_off": [ + "unnecessaryCasts", "useOfGoogBase", "lintChecks", "analyzerChecks" From 927d73d410ab8a459997d50b7bee68c90d4085a2 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Tue, 29 Mar 2016 11:24:51 +0200 Subject: [PATCH 3/3] Add missing return jsdoc annotations --- src/ol/animation.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ol/animation.js b/src/ol/animation.js index 55d4e512ea..4e9833b3fb 100644 --- a/src/ol/animation.js +++ b/src/ol/animation.js @@ -24,6 +24,7 @@ ol.animation.bounce = function(options) { /** * @param {ol.Map} map Map. * @param {?olx.FrameState} frameState Frame state. + * @return {boolean} Run this function in the next frame. */ function(map, frameState) { if (frameState.time < start) { @@ -62,6 +63,7 @@ ol.animation.pan = function(options) { /** * @param {ol.Map} map Map. * @param {?olx.FrameState} frameState Frame state. + * @return {boolean} Run this function in the next frame. */ function(map, frameState) { if (frameState.time < start) { @@ -103,6 +105,7 @@ ol.animation.rotate = function(options) { /** * @param {ol.Map} map Map. * @param {?olx.FrameState} frameState Frame state. + * @return {boolean} Run this function in the next frame. */ function(map, frameState) { if (frameState.time < start) { @@ -146,6 +149,7 @@ ol.animation.zoom = function(options) { /** * @param {ol.Map} map Map. * @param {?olx.FrameState} frameState Frame state. + * @return {boolean} Run this function in the next frame. */ function(map, frameState) { if (frameState.time < start) {