Remove unused map parameter from several interaction methods
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user