On 3/18/11 1:33 PM, Oliver Hunt wrote:
It also extends "trivially" to non-es objects, eg. Object.subclass(Image) or 
somesuch in the DOM, etc.

Note that currently WebIDL calls for that to not work (in the sense that it examines the [[Class]] of DOM objects, so if you Object.create(new HTMLImageElement()) the thing you get won't have working DOM methods/properties on it).

Or am I misunderstanding your proposal?

-Boris
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to