currentTarget / observer

What about replacing the misnomer "currentTarget" by "observer" in the 
Event interface?

This would help avoiding the confusion about the distinction between 
"target" and "currentTarget" as exemplified in the recent post on the 
D3E mailing list cited below.

Regards,
Gerd Wagner

>  So if Web IDL were being used, you could say something like:
>
>     When invoking an EventListener implemented in ECMAScript, its
>     _callback this value_ must be the target of the event.

Not target but currentTarget ;)

Received on Thursday, 6 January 2011 20:54:28 UTC