1
0
mirror of https://codeberg.org/setop/elm-scripting synced 2025-11-08 21:49:57 +00:00

Compare commits

5 Commits

Author SHA1 Message Date
a7b1b206be feat: can pass content as flags 2025-10-15 13:00:58 +02:00
6050fb02a3 handle innerHTML 2025-10-05 01:35:45 +02:00
9566f305b5 more exploration 2025-10-02 19:08:12 +02:00
7025bc1104 refine backlog 2025-10-02 19:07:57 +02:00
a261077f6c support for debug mode 2025-10-02 19:06:58 +02:00

6
dom.js
View File

@@ -53,8 +53,8 @@ function Node(parent, tag) {
return this;
}
const document = new Node(null, "document");
const target = new Node(document, "target");
var document = new Node(null, "document");
var target = new Node(document, "target");
const NodeKeys = new Set(Object.keys(target));
// getElementById is only used once, to get node Elm must hook into.
@@ -67,6 +67,6 @@ document.createTextNode = (text) => { t = new Node(null, "#text" ); t.text = tex
// workaround for elm-explorations/markdown Markdown.toHtml
const global = {};
global = {};