__noSuchMethod__ and direct proxies
bedney at technicalpursuit.com
Mon Dec 5 08:56:12 PST 2011
Well, obviously I have use cases or otherwise I wouldn't have put the time and effort into continuing to ask for this functionality.
As I've said before, as long as I can hook proxies into the prototype chain such that I can use proxy functionality with objects where I don't have control over their creation, I would happily get rid of a non-standard solution like __noSuchMethod__. The threads you mention have snippets of code that I use in real world applications all-day, every-day. Unfortunately, I can only use an elegant solution with Firefox right now, since its the only one that has __noSuchMethod__. For other platforms, I must use much hackier solutions.
On Dec 5, 2011, at 10:20 AM, John J Barton wrote:
> On Mon, Dec 5, 2011 at 2:48 AM, Tom Van Cutsem <tomvc.be at gmail.com> wrote:
>> There have previously been discussions on this list and elsewhere about
>> whether or not proxies cover the __noSuchMethod__ use case [1,2].
>>  https://mail.mozilla.org/pipermail/es-discuss/2011-October/017467.html
>>  https://bugzilla.mozilla.org/show_bug.cgi?id=683218#c8
> The references here discuss how proxies can/cannot implement
> __noSuchMethod__. Is there a use case for __noSuchMethod__? As in why
> would anyone want such a thing?
> es-discuss mailing list
> es-discuss at mozilla.org
More information about the es-discuss