- From: Robin Berjon <robin@berjon.com>
- Date: Tue, 23 Aug 2011 16:43:36 +0200
- To: timeless <timeless@gmail.com>
- Cc: Bryan Sullivan <blsaws@gmail.com>, public-script-coord@w3.org
On Aug 23, 2011, at 16:14 , timeless wrote: > So: > > interface WACToaster {...}; > partial interface WACWindow { attribute WACToaster toaster; }; > > That still pollutes window with WACToaster (interface object), but > since you shouldn't use instanceof anyway, no one is significantly > harmed? I didn't get into the details of the several variants one could use because they have tradeoffs that I don't think are relevant to the point that we can do without modules, but an alternative to the above could be: [NoInterfaceObject] interface Toaster {...}; partial interface WACGlobal { Toaster gimmeToaster(); }; -- Robin Berjon - http://berjon.com/ - @robinberjon
Received on Tuesday, 23 August 2011 14:44:10 UTC