Move opt_useCapture arg to the end of the list

This commit is contained in:
Tim Schaub
2016-02-02 07:03:00 -07:00
committed by Andreas Hocevar
parent dc0393acff
commit 80df1f5ae8
48 changed files with 161 additions and 165 deletions

View File

@@ -94,7 +94,7 @@ ol.Observable.prototype.getRevision = function() {
* @api stable
*/
ol.Observable.prototype.on = function(type, listener, opt_this) {
return ol.events.listen(this, type, listener, false, opt_this);
return ol.events.listen(this, type, listener, opt_this);
};
@@ -107,7 +107,7 @@ ol.Observable.prototype.on = function(type, listener, opt_this) {
* @api stable
*/
ol.Observable.prototype.once = function(type, listener, opt_this) {
return ol.events.listenOnce(this, type, listener, false, opt_this);
return ol.events.listenOnce(this, type, listener, opt_this);
};
@@ -120,7 +120,7 @@ ol.Observable.prototype.once = function(type, listener, opt_this) {
* @api stable
*/
ol.Observable.prototype.un = function(type, listener, opt_this) {
ol.events.unlisten(this, type, listener, false, opt_this);
ol.events.unlisten(this, type, listener, opt_this);
};