Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript" src="http://127.0.0.1:8001/_compile/src/Main.elm"></script>
- <script>
- if (typeof Elm === "undefined") {
- document.body.innerHTML = `Elm Invoker is probably down.`
- }
- else if (Elm.Errors) {
- document.body.innerHTML =
- `<iframe src="http://127.0.0.1:8002/src/Main.elm" frameborder="0"
- style="overflow:hidden;width:100%" height="10000">
- </iframe>`
- } else {
- var app = Elm.Main.init({ flags : { token: localStorage.token || "" }})
- // ...
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement