1
0
mirror of https://codeberg.org/setop/elm-scripting synced 2025-11-08 21:49:57 +00:00
Files
elm-scripting/postelm.js
2025-10-02 19:08:12 +02:00

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;
}