W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2012

Re: [DOM4] EventTarget as first class citizen

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 29 Feb 2012 14:04:32 -0500
Message-ID: <4F4E76C0.2040302@mit.edu>
To: www-dom@w3.org
On 2/29/12 1:21 PM, Jake Verbaten wrote:
> We don't actually need that, we just need to glare at browser vendors
> until they implement the IDL. Once that is done then
>
> `var et = Object.create(EventTarget.prototype)`
>
> Should "just work" assuming the methods on EventTarget.prototype are
> generic and flexible enough to work on any object.

The methods are not generic, as WebIDL clearly says.

-Boris
Received on Wednesday, 29 February 2012 19:05:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:09 GMT