Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a small mistake with the mapRedispatch functions - need to pass…

… the event type not just the event!
  • Loading branch information...
commit 62bba015001c564ebf9a9f42ee1d1b318df34971 1 parent 973abc3
@Stray authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/org/robotlegs/utilities/modular/mvcs/ModuleMediator.as
View
8 src/org/robotlegs/utilities/modular/mvcs/ModuleMediator.as
@@ -33,12 +33,12 @@ package org.robotlegs.utilities.modular.mvcs
}
// extra sugar to reduce boilerplate on the transfer of events
- protected function mapRedispatchInternally(evt:Event):void{
- eventMap.mapListener(moduleDispatcher, evt, redispatchInternally);
+ protected function mapRedispatchInternally(eventType:String):void{
+ eventMap.mapListener(moduleDispatcher, eventType, redispatchInternally);
}
- protected function mapRedispatchToModules(evt:Event):void{
- eventMap.mapListener(eventDispatcher, evt, redispatchToModules);
+ protected function mapRedispatchToModules(eventType:String):void{
+ eventMap.mapListener(eventDispatcher, eventType, redispatchToModules);
}
Please sign in to comment.
Something went wrong with that request. Please try again.