- From: Jonas Sicking <jonas@sicking.cc>
- Date: Fri, 10 Mar 2006 13:47:23 -0800
- To: Ian Hickson <ian@hixie.ch>
- Cc: public-webapi@w3.org
Ian Hickson wrote: > Please consider this when writing the ECMAScript binding for DOM3 Events. I believe that we have already addressed this in our meetings. Not sure if it has made it into the spec draft yet. The resolution was that |this| is set to event.currentTarget in ECMAScript when a EventListener is given as a function. When the EventListener is given as an object we should just call the handleEvent function on that object and so |this| should point to that object. / Jonas
Received on Friday, 10 March 2006 21:48:01 UTC