[editor] remove unused provides
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
package ru.m.tankz.editor;
|
||||
|
||||
import haxework.resources.IResources;
|
||||
import haxework.resources.Resources;
|
||||
import haxework.view.frame.FrameSwitcher;
|
||||
import haxework.view.popup.PopupManager;
|
||||
import haxework.view.Root;
|
||||
import haxework.view.theme.ITheme;
|
||||
import ru.m.tankz.bundle.CachedLevelBundle;
|
||||
@@ -21,7 +19,6 @@ class Editor {
|
||||
@:provide static var theme:ITheme;
|
||||
@:provide static var switcher:FrameSwitcher;
|
||||
@:provide static var storage:EditorStorage;
|
||||
@:provide static var popupManager:PopupManager;
|
||||
@:provide static var configBundle:IConfigBundle;
|
||||
@:provide static var levelBundle:ILevelBundle;
|
||||
|
||||
@@ -37,14 +34,12 @@ class Editor {
|
||||
L.d(TAG, 'Debug: ${Const.DEBUG}');
|
||||
L.i(TAG, 'Version: ${Const.VERSION}');
|
||||
L.i(TAG, 'Build: ${Const.BUILD}');
|
||||
resources = new Resources();
|
||||
resources.text.put("version", '${Const.VERSION}');
|
||||
|
||||
theme = new AppTheme();
|
||||
configBundle = new ConfigBundle();
|
||||
levelBundle = new CachedLevelBundle(new ClientLevelSource());
|
||||
storage = new EditorStorage();
|
||||
popupManager = new PopupManager();
|
||||
|
||||
var view = new EditorView();
|
||||
Root.bind(view);
|
||||
|
||||
Reference in New Issue
Block a user