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

@@ -32,17 +32,16 @@ ol.render.EventType = {
* @extends {ol.events.Event}
* @implements {oli.render.Event}
* @param {ol.render.EventType} type Type.
* @param {Object=} opt_target Target.
* @param {ol.render.VectorContext=} opt_vectorContext Vector context.
* @param {olx.FrameState=} opt_frameState Frame state.
* @param {?CanvasRenderingContext2D=} opt_context Context.
* @param {?ol.webgl.Context=} opt_glContext WebGL Context.
*/
ol.render.Event = function(
type, opt_target, opt_vectorContext, opt_frameState, opt_context,
type, opt_vectorContext, opt_frameState, opt_context,
opt_glContext) {
ol.events.Event.call(this, type, opt_target);
ol.events.Event.call(this, type);
/**
* For canvas, this is an instance of {@link ol.render.canvas.Immediate}.