about summary refs log tree commit diff stats
path: root/src/html/dom.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/dom.nim')
-rw-r--r--src/html/dom.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim
index 0999f0bb..acc8ae30 100644
--- a/src/html/dom.nim
+++ b/src/html/dom.nim
@@ -2069,7 +2069,7 @@ func newDocument*(): Document {.jsctor.} =
     url: newURL("about:blank").get,
     index: -1
   )
-  document.implementation = DOMImplementation(document: result)
+  document.implementation = DOMImplementation(document: document)
   document.contentType = "application/xml"
   return document
 
com> 2019-04-23 14:43:17 -0700 committer Kartik Agaram <vc@akkartik.com> 2019-04-23 14:43:17 -0700 5116' href='/akkartik/mu/commit/subx/opcodes?h=main&id=e4bee6240e47680e4b13c1bb04e45fbf466e649b'>e4bee624 ^
417a05ee ^







5f3b3e7a ^
417a05ee ^
1639687b ^
5c26afb1 ^
417a05ee ^
5f3b3e7a ^
417a05ee ^
f15fcfe8 ^
417a05ee ^

a78deb23 ^
417a05ee ^
0c7f08ce ^

f15fcfe8 ^

469a1a9a ^
0c7f08ce ^




15655a12 ^









417a05ee ^
924ed08a ^
417a05ee ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117