Improve and standardise event docs

This commit is contained in:
Peter Robins
2014-07-27 17:11:34 +00:00
parent 4d0fbaedc1
commit 7a5a5d75e7
10 changed files with 41 additions and 3 deletions

View File

@@ -84,7 +84,8 @@ ol.Observable.prototype.once = function(type, listener, opt_this) {
* Unlisten for a certain type of event.
* @param {string|Array.<string>} type The event type or array of event types.
* @param {function(?): ?} listener The listener function.
* @param {Object=} opt_this The object to use as `this` in `listener`.
* @param {Object=} opt_this The object which was used as `this` by the
* `listener`.
* @api
*/
ol.Observable.prototype.un = function(type, listener, opt_this) {