- From: Ian Hickson <ian@hixie.ch>
- Date: Fri, 7 Apr 2006 01:56:34 +0000 (UTC)
- To: Maciej Stachowiak <mjs@apple.com>
- Cc: Cameron McCormack <cam@mcc.id.au>, Web APIs WG <public-webapi@w3.org>
On Thu, 6 Apr 2006, Maciej Stachowiak wrote: > > Here's a possibly too cute solution that would make things language- > independent but add nothing new for JavaScript: > > interface WindowXMLHttpRequest { > XMLHttpRequest XMLHttpRequest(); > } > > In other words, require a function on the global object named > XMLHttpRequest which makes a new instance for you. > > And for JavaScript allow it to be used as a constructor too. > > In fact this fairly accurately describes what current implementations > already do. Worksforme. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 7 April 2006 01:56:43 UTC