On Fri, Jul 25, 2014 at 4:25 PM, Michaël Rouges <[email protected]>
wrote:

> @Andrea :
>
> Yeah, I don't really want to rewrite the methods, I only want to share my
> "shared" variable with these methods.
>
> Furthermore, your code don't works because "method" don't knows "shared".
>

You could temporarily (or not) share the data as a property of the foreign
object's method itself.

https://gist.github.com/rwaldron/7a3fe8bd49831978846e

Rick
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to