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

@@ -72,7 +72,7 @@ ol.TileQueue.prototype.enqueue = function(element) {
if (added) {
var tile = element[0];
ol.events.listen(tile, ol.events.EventType.CHANGE,
this.handleTileChange, false, this);
this.handleTileChange, this);
}
return added;
};
@@ -96,7 +96,7 @@ ol.TileQueue.prototype.handleTileChange = function(event) {
if (state === ol.TileState.LOADED || state === ol.TileState.ERROR ||
state === ol.TileState.EMPTY) {
ol.events.unlisten(tile, ol.events.EventType.CHANGE,
this.handleTileChange, false, this);
this.handleTileChange, this);
var tileKey = tile.getKey();
if (tileKey in this.tilesLoadingKeys_) {
delete this.tilesLoadingKeys_[tileKey];