Tim, it looks like they're trying to standardize __proto__ for ES6
actually:
http://wiki.ecmascript.org/doku.php?id=strawman:magic_proto_property

On Thu, Apr 12, 2012 at 12:19 PM, Tim Caswell <t...@creationix.com> wrote:

> Cool.  Just be aware that __proto__ is both non standard and deprecated.
> I'm not sure how this would be done with pure ES5 or ES6 code though.  I
> really like how protein just returns a function and doesn't mess with the
> HttpServer or subclass it like connect does.
>
>
> On Thu, Apr 12, 2012 at 2:06 PM, Mathias Buus <mathiasb...@gmail.com>wrote:
>
>> Yes I am mutating the __proto__ link of the request and response.
>>
>> One question, how do you extend the prototypes once (not per request)
>> without changing the http prototypes.  Are you mutating the .__proto__ of
>> the request when it comes in from node?
>>
>>
>>  --
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines:
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> You received this message because you are subscribed to the Google
>> Groups "nodejs" group.
>> To post to this group, send email to nodejs@googlegroups.com
>> To unsubscribe from this group, send email to
>> nodejs+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>
>
>  --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to