More refactoring, stuff kindoff works
This commit is contained in:
parent
62f471df1e
commit
3943100e54
52 changed files with 635 additions and 1010 deletions
17
test.ts
17
test.ts
|
@ -1,15 +1,6 @@
|
|||
import {Translation} from "./UI/i18n/Translation";
|
||||
import Locale from "./UI/i18n/Locale";
|
||||
import Combine from "./UI/Base/Combine";
|
||||
import GeoLocationHandler from "./Logic/Actors/GeoLocationHandler";
|
||||
import LayoutConfig from "./Customizations/JSON/LayoutConfig";
|
||||
import {UIEventSource} from "./Logic/UIEventSource";
|
||||
|
||||
|
||||
new Combine(["Some language:",new Translation({en:"English",nl:"Nederlands",fr:"Françcais"})]).AttachTo("maindiv")
|
||||
|
||||
Locale.language.setData("nl")
|
||||
window.setTimeout(() => {
|
||||
Locale.language.setData("en")
|
||||
}, 1000)
|
||||
|
||||
window.setTimeout(() => {
|
||||
Locale.language.setData("fr")
|
||||
}, 5000)
|
||||
new GeoLocationHandler(new UIEventSource<{latlng: any; accuracy: number}>(undefined), undefined, new UIEventSource<LayoutConfig>(undefined)).AttachTo("maindiv")
|
Loading…
Add table
Add a link
Reference in a new issue