Less fancy type checking

This commit is contained in:
Tom Payne
2012-07-30 21:50:48 +02:00
parent ab8d297827
commit 076342b886

View File

@@ -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);