From 076342b886530cc12bd1494b18a50cebee9fa763 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Mon, 30 Jul 2012 21:50:48 +0200 Subject: [PATCH] Less fancy type checking --- src/ol/base/collection.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ol/base/collection.js b/src/ol/base/collection.js index 310d426d96..bd151d3d1e 100644 --- a/src/ol/base/collection.js +++ b/src/ol/base/collection.js @@ -104,9 +104,8 @@ ol.Collection.prototype.clear = function() { /** - * @param {function(this: T, *, number)} f Function. - * @param {T=} opt_obj The object to be used for the value of 'this' within f. - * @template T + * @param {Function} f Function. + * @param {Object=} opt_obj Object. */ ol.Collection.prototype.forEach = function(f, opt_obj) { goog.array.forEach(this.array_, f, opt_obj);