@@ -28,7 +28,6 @@
|
|||||||
],
|
],
|
||||||
"jscomp_off": [
|
"jscomp_off": [
|
||||||
"lintChecks",
|
"lintChecks",
|
||||||
"analyzerChecks",
|
|
||||||
"missingProvide",
|
"missingProvide",
|
||||||
"unknownDefines"
|
"unknownDefines"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -27,8 +27,7 @@
|
|||||||
"*"
|
"*"
|
||||||
],
|
],
|
||||||
"jscomp_off": [
|
"jscomp_off": [
|
||||||
"lintChecks",
|
"lintChecks"
|
||||||
"analyzerChecks"
|
|
||||||
],
|
],
|
||||||
"extra_annotation_name": [
|
"extra_annotation_name": [
|
||||||
"api", "observable"
|
"api", "observable"
|
||||||
|
|||||||
+1
-2
@@ -18,8 +18,7 @@
|
|||||||
"*"
|
"*"
|
||||||
],
|
],
|
||||||
"jscomp_off": [
|
"jscomp_off": [
|
||||||
"lintChecks",
|
"lintChecks"
|
||||||
"analyzerChecks"
|
|
||||||
],
|
],
|
||||||
"extra_annotation_name": [
|
"extra_annotation_name": [
|
||||||
"api", "observable"
|
"api", "observable"
|
||||||
|
|||||||
@@ -230,8 +230,7 @@ Here is a version of `config.json` with more compilation checks enabled:
|
|||||||
],
|
],
|
||||||
"jscomp_off": [
|
"jscomp_off": [
|
||||||
"unknownDefines",
|
"unknownDefines",
|
||||||
"lintChecks",
|
"lintChecks"
|
||||||
"analyzerChecks"
|
|
||||||
],
|
],
|
||||||
"extra_annotation_name": [
|
"extra_annotation_name": [
|
||||||
"api", "observable"
|
"api", "observable"
|
||||||
|
|||||||
@@ -103,15 +103,6 @@ ol.Kinetic.prototype.end = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @private
|
|
||||||
* @return {number} Duration of animation (milliseconds).
|
|
||||||
*/
|
|
||||||
ol.Kinetic.prototype.getDuration_ = function() {
|
|
||||||
return Math.log(this.minVelocity_ / this.initialVelocity_) / this.decay_;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return {number} Total distance travelled (pixels).
|
* @return {number} Total distance travelled (pixels).
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -52,12 +52,6 @@ ol.renderer.canvas.TileLayer = function(tileLayer) {
|
|||||||
*/
|
*/
|
||||||
this.tmpExtent = ol.extent.createEmpty();
|
this.tmpExtent = ol.extent.createEmpty();
|
||||||
|
|
||||||
/**
|
|
||||||
* @private
|
|
||||||
* @type {ol.TileCoord}
|
|
||||||
*/
|
|
||||||
this.tmpTileCoord_ = [0, 0, 0];
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
* @type {ol.TileRange}
|
* @type {ol.TileRange}
|
||||||
|
|||||||
+1
-1
@@ -217,7 +217,7 @@ ol.View.prototype.animate = function(var_args) {
|
|||||||
}
|
}
|
||||||
var series = [];
|
var series = [];
|
||||||
for (var i = 0; i < animationCount; ++i) {
|
for (var i = 0; i < animationCount; ++i) {
|
||||||
var options = /** @type olx.AnimationOptions */ (arguments[i]);
|
var options = /** @type {olx.AnimationOptions} */ (arguments[i]);
|
||||||
|
|
||||||
var animation = /** @type {ol.ViewAnimation} */ ({
|
var animation = /** @type {ol.ViewAnimation} */ ({
|
||||||
start: start,
|
start: start,
|
||||||
|
|||||||
Reference in New Issue
Block a user