Hello, nameless hero, thanks for your time to have a look~
It's a section code of Facade.as, when it register Mediator, it judge whether (view != null),
but when it register Command and Proxy, it doesn't check.
Is that wrong?
public function registerCommand(noteName:String, commandClassRef:Class):void
{
controller.registerCommand(noteName, commandClassRef);
}
public function registerMediator(mediator:IMediator):void
{
if(view != null) view.registerMediator(mediator);
}
public function registerProxy(proxy:IProxy):void
{
model.registerProxy(proxy);
}
Best regards~
mani.