Remove useless target argument from ol.Event and subclass constructors

This commit is contained in:
Andreas Hocevar
2016-07-01 17:15:30 +02:00
parent 2845f50ff7
commit ccf15b8be3
12 changed files with 20 additions and 30 deletions

View File

@@ -393,7 +393,7 @@ describe('ol.layer.Layer', function() {
layerStatesArray: [],
layerStates: {}
};
map.dispatchEvent(new ol.render.Event('precompose', map, null,
map.dispatchEvent(new ol.render.Event('precompose', null,
frameState, null, null));
expect(frameState.layerStatesArray.length).to.be(1);
var layerState = frameState.layerStatesArray[0];