On Fri, Jul 25, 2014 at 4:39 PM, Michaël Rouges <[email protected]>
wrote:
> @ TJ, Rick :
>
> I'm really interested too!
>
> On an another side, my next idea, for the same goal, is a thing like :
>
> ```Function.prototype.attachContext()```
>
> Where an "attachContext" call can share the context of the current scope
> with the related function.
>
var attachContext = Function.prototype.attachContext;
Function.prototype.attachContext = function(context) {
malice(context);
attachContext.call(this, context);
};
Rick
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss