W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2009

[whatwg] Exposing EventTarget to JavaScript

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Fri, 24 Apr 2009 19:17:30 +0200
Message-ID: <EBD3F4AA16F745928F6DD59148D606D6@POCZTOWIEC>
As a reminder, the syntax {new Option()} (Netscape DOM) is deprecated to the
syntax {document.createElement("OPTION")} (W3C DOM).  The requested syntax
{new Event()} would be inconsistent with that design decision.  OTOH, the
syntax {new XMLHTTPRequest()} has already been adopted, perhaps because
{document.createXMLHTTPRequest()} would be too specific?
A bit confused,
Chris
Received on Friday, 24 April 2009 10:17:30 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:11 UTC