mirror of
https://codeberg.org/setop/elm-scripting
synced 2025-11-08 21:49:57 +00:00
more exploration
This commit is contained in:
13
postelm.js
Normal file
13
postelm.js
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
|
||||
// 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;
|
||||
}
|
||||
Reference in New Issue
Block a user