Closed creynders closed 11 years ago
Just a quick note: In RL1 the routeEventToListener
was used for both typed and untyped mappings. In RL2 (at the moment) it's only used for typed mappings. Untyped mappings wire the listeners directly.
Although.. events weren't pushed onto the stack for untyped mappings, so...
I know you'd rather not open up the method, but then I'd need some kind of hooking/override mechanism to override it
Easiest solution would seem to be to have an optional routingProcessor parameter in the event map constructor
From a performance perspective we should probably just open up routeEventToListener
.
Thanks a bundle, relaxedeventmap has been ported.
I wanted to do a quick 1-to-1 port of @Stray 's relaxed event map, but got stuck since it extends the normal event map and needs to override the
routeEventToListener
method. I know you'd rather not open up the method, but then I'd need some kind of hooking/override mechanism to override it, otherwise I'll be recreating 90% of the normal event map.Easiest solution would seem to be to have an optional
routingProcessor
parameter in the event map constructor, I think.