On Jun 13, 2011, at 11:11 PM, Mike Samuel wrote: >> Also, what is the 'this' object passed to the quasi handler? - might it make >> sense for 'this' to be the site specific object, rather than the passing >> this as an argument? > > If the quasi handler is a member expression as in foo.bar`baz${boo}` > then "this" is the left operand of the member expression, foo in that > example. > >> this seems to make some logical sense, and makes the > > Making the call-site object only available via `this` would prevent > bound methods from using it.
Ah! - that makes sense. It hadn't been obvious to me that this use case would be possible, and I don't think there are any examples in the proposal showing this - if you have a chance, I think it could be great to add an example to demonstrate this. cheers, G. _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss