On Fri, Oct 14, 2011 at 16:09, David Bruant <bruan...@gmail.com> wrote: > By the way, do anyone know how the binding with 'elem' is made? Is it > before or after the compilation? Because maybe I miss something, but by > the time you reach "add", you have lost both "elem" and "on"
Dart only has lexical this. In the Dart DOM, both the on property and the click property (in element.on.click.add(f)) has a way to get to the element. http://code.google.com/p/dart/source/browse/trunk/dart/client/html/src/ElementWrappingImplementation.dart#647 http://code.google.com/p/dart/source/browse/trunk/dart/client/html/src/EventTargetWrappingImplementation.dart -- erik _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss