Minimalist Classes

Axel Rauschmayer axel at rauschma.de
Tue Nov 1 10:41:40 PDT 2011


If I am not mistaken, this approach would not work with Function.prototype.call, which lets you pick any method and hand in an arbitrary |this|. That means you skip a step in the tracking that you are performing.

> If Dave (and you) is talking about the problem of i-looping at resolving deeper than 2nd level super-calls, then even call-stack is not needed. 
> 
> See this implementation: https://gist.github.com/1330574#L68 (with delete-restore the parent link technique).
> 
> Usage level with examples (line 95): https://gist.github.com/1330574#L95

-- 
Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20111101/8568b6d9/attachment.html>


More information about the es-discuss mailing list