+public-script-coord
-public-webapps
(Soon I will start dropping es-discuss too).
On Sep 29, 2009, at 3:38 AM, Yehuda Katz wrote:
I meant "actually written". Being able to see actual code that
implemented pieces of the IDL in ES would make some of the more
complex interactions more obvious (I suspect).
I don't entirely understand this request. The IDL just defines an
interface. ECMAScript doesn't have a way to declare an interface
without implementing it. And the actual behavior of most objects
described with Web IDL interfaces is not implementable in pure
ECMAScript - not the interface behavior, the actual core behavior. But
maybe you can help me understand what you want with an example. Here's
a trivial Web IDL interface, what would count as an ES implementation
to you:
interface FooBar {
boolean isFoo(DOMString a, long b);
boolean isBar(DOMString a, long b);
}
Regards,
Maciej
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss