mirror of
https://codeberg.org/setop/elm-scripting
synced 2025-11-08 21:49:57 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a7b1b206be | |||
| 6050fb02a3 | |||
| 9566f305b5 | |||
| 7025bc1104 | |||
| a261077f6c |
6
dom.js
6
dom.js
@@ -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 = {};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user