some code cleaning
This commit is contained in:
@@ -12,20 +12,16 @@ import view.MainDrawer;
|
||||
import view.MainPanel;
|
||||
|
||||
class LPTCManager2026 extends Application {
|
||||
|
||||
private var model:AppModelLocator;
|
||||
private var services:Services;
|
||||
private var appController:AppController;
|
||||
private var mainPanel:MainPanel;
|
||||
private var md:MainDrawer;
|
||||
|
||||
// private var nav:StackNavigator;
|
||||
|
||||
public function new() {
|
||||
super();
|
||||
|
||||
//Security.allowDomain("*");
|
||||
//Security.loadPolicyFile("https://lepetittrot.com/crossdomain.xml");
|
||||
|
||||
model = AppModelLocator.getInstance();
|
||||
services = new Services();
|
||||
appController = new AppController();
|
||||
|
||||
@@ -73,7 +73,7 @@ class MainHeader extends LayoutGroup {
|
||||
}
|
||||
|
||||
function onMenuButtonPress(e:TriggerEvent):Void {
|
||||
var e:CairngormEvent = new CairngormEvent(AppController.OPEN_DRAWER_EVENT);
|
||||
CairngormEventDispatcher.getInstance().dispatchEvent(e);
|
||||
var ce:CairngormEvent = new CairngormEvent(AppController.OPEN_DRAWER_EVENT);
|
||||
CairngormEventDispatcher.getInstance().dispatchEvent(ce);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user