Remove unused map parameter from several interaction methods

This commit is contained in:
Thomas Chandelle
2017-01-05 15:34:47 +01:00
parent b5af8e4783
commit 8956a492eb
12 changed files with 35 additions and 41 deletions

View File

@@ -36,8 +36,8 @@ describe('ol.interaction.KeyboardZoom', function() {
map.handleMapBrowserEvent(event);
event.originalEvent.charCode = '-'.charCodeAt(0);
map.handleMapBrowserEvent(event);
expect(spy.getCall(0).args[2]).to.eql(1);
expect(spy.getCall(1).args[2]).to.eql(-1);
expect(spy.getCall(0).args[1]).to.eql(1);
expect(spy.getCall(1).args[1]).to.eql(-1);
ol.interaction.Interaction.zoomByDelta.restore();
});
});