forked from MapComplete/MapComplete
		
	Full code cleanup
This commit is contained in:
		
							parent
							
								
									3a4a2a2016
								
							
						
					
					
						commit
						fa971ffbbf
					
				
					 300 changed files with 16352 additions and 19284 deletions
				
			
		
							
								
								
									
										10
									
								
								index.ts
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								index.ts
									
										
									
									
									
								
							|  | @ -1,6 +1,5 @@ | |||
| import {FixedUiElement} from "./UI/Base/FixedUiElement"; | ||||
| import Combine from "./UI/Base/Combine"; | ||||
| import AvailableBaseLayers from "./Logic/Actors/AvailableBaseLayers"; | ||||
| import MinimapImplementation from "./UI/Base/MinimapImplementation"; | ||||
| import {Utils} from "./Utils"; | ||||
| import AllThemesGui from "./UI/AllThemesGui"; | ||||
|  | @ -8,7 +7,6 @@ import DetermineLayout from "./Logic/DetermineLayout"; | |||
| import LayoutConfig from "./Models/ThemeConfig/LayoutConfig"; | ||||
| import DefaultGUI from "./UI/DefaultGUI"; | ||||
| import State from "./State"; | ||||
| import AvailableBaseLayersImplementation from "./Logic/Actors/AvailableBaseLayersImplementation"; | ||||
| import ShowOverlayLayerImplementation from "./UI/ShowDataLayer/ShowOverlayLayerImplementation"; | ||||
| import {DefaultGuiState} from "./UI/DefaultGuiState"; | ||||
| 
 | ||||
|  | @ -40,7 +38,7 @@ class Init { | |||
|         window.mapcomplete_state = State.state; | ||||
|         new DefaultGUI(State.state, guiState) | ||||
| 
 | ||||
|         | ||||
| 
 | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  | @ -60,8 +58,8 @@ new Combine(["Initializing... <br/>", | |||
| DetermineLayout.GetLayout().then(value => { | ||||
|     console.log("Got ", value) | ||||
|     Init.Init(value) | ||||
|     }).catch(err => { | ||||
|         console.error("Error while initializing: ", err, err.stack) | ||||
|     }) | ||||
| }).catch(err => { | ||||
|     console.error("Error while initializing: ", err, err.stack) | ||||
| }) | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue