summaryrefslogtreecommitdiff |
diff options
author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-12-22 10:47:01 +0100 |
---|---|---|
committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-12-22 10:47:01 +0100 |
commit | 5f9384a442531b7133cce4edc07edffb0729c3d7 (patch) | |
tree | e8bb40140e2cf84b05a0e5313e2d2b21637c5118 /src/map-editor/www | |
parent | 0f2bae1ecdf08aec43b129994ac87570ef42e1f3 (diff) |
Converts map-editor, JSON broken, dep. updates...
Diffstat (limited to 'src/map-editor/www')
-rw-r--r-- | src/map-editor/www/index.html | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/map-editor/www/index.html b/src/map-editor/www/index.html index 3828b22..6c68627 100644 --- a/src/map-editor/www/index.html +++ b/src/map-editor/www/index.html @@ -6,6 +6,7 @@ <link rel="icon" type="image/x-icon" href="/favicon.ico"> </head> <body> + <div id="elm-element"></div> <script src="script/main.js"></script> <script src="../global/script/session.js"></script> <script src="../global/script/urlparams.js"></script> @@ -14,12 +15,16 @@ tacticians_online.session.load(); tacticians_online.app = - Elm.Main.fullscreen + Elm.Main.init ( { - user_id: tacticians_online.session.get_user_id(), - token: tacticians_online.session.get_token(), - url_params: tacticians_online.urlparams.get_parameters() + flags: + { + user_id: tacticians_online.session.get_user_id(), + token: tacticians_online.session.get_token(), + url_params: tacticians_online.urlparams.get_parameters() + }, + node: document.getElementById("elm-element") } ); |