mirror of
https://codeberg.org/setop/elm-scripting
synced 2025-11-08 21:49:57 +00:00
14 lines
223 B
JavaScript
14 lines
223 B
JavaScript
|
|
|
|
// above is the DOM implementation
|
|
// and the Elm app code
|
|
|
|
// here we lanch the app
|
|
Elm[Object.keys(Elm)[0]].init({ node: document.getElementById("elm") });
|
|
|
|
document.children[0].dump();
|
|
|
|
} catch(e) {
|
|
throw e;
|
|
}
|