Less fancy type checking

This commit is contained in:
Tom Payne
2012-07-30 21:50:48 +02:00
parent ab8d297827
commit 076342b886
+2 -3
View File
@@ -104,9 +104,8 @@ ol.Collection.prototype.clear = function() {
/** /**
* @param {function(this: T, *, number)} f Function. * @param {Function} f Function.
* @param {T=} opt_obj The object to be used for the value of 'this' within f. * @param {Object=} opt_obj Object.
* @template T
*/ */
ol.Collection.prototype.forEach = function(f, opt_obj) { ol.Collection.prototype.forEach = function(f, opt_obj) {
goog.array.forEach(this.array_, f, opt_obj); goog.array.forEach(this.array_, f, opt_obj);