summary refs log tree commit diff stats
path: root/lib/js/dom.nim
diff options
context:
space:
mode:
authoree7 <45465154+ee7@users.noreply.github.com>2020-12-21 18:41:56 +0100
committerGitHub <noreply@github.com>2020-12-21 09:41:56 -0800
commit297c8e403d110dd872e070563328f4e0c734cd01 (patch)
tree30b72bb67d7f67905432797406bd84c45fe0a419 /lib/js/dom.nim
parent29c9a1c14b67ababca7b8ad7f80a0b84d74cfc9b (diff)
downloadNim-297c8e403d110dd872e070563328f4e0c734cd01.tar.gz
styleCheck: Fix some inconsistent identifiers (#16177)
Diffstat (limited to 'lib/js/dom.nim')
-rw-r--r--lib/js/dom.nim10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/js/dom.nim b/lib/js/dom.nim
index 4dbb4f77a..d4e8ce86a 100644
--- a/lib/js/dom.nim
+++ b/lib/js/dom.nim
@@ -1460,8 +1460,8 @@ else:
   proc createTextNode*(d: Document, identifier: cstring): Node {.importcpp.}
   proc createComment*(d: Document, data: cstring): Node {.importcpp.}
 
-proc setTimeout*(action: proc(); ms: int): Timeout {.importc, nodecl.}
-proc clearTimeout*(t: Timeout) {.importc, nodecl.}
+proc setTimeout*(action: proc(); ms: int): TimeOut {.importc, nodecl.}
+proc clearTimeout*(t: TimeOut) {.importc, nodecl.}
 
 {.push importcpp.}
 
@@ -1719,9 +1719,9 @@ proc offsetTop*(e: Node): int {.importcpp: "#.offsetTop", nodecl.}
 proc offsetLeft*(e: Node): int {.importcpp: "#.offsetLeft", nodecl.}
 
 since (1, 3):
-  func newDomParser*(): DOMParser {.importcpp: "new DOMParser()".}
+  func newDomParser*(): DomParser {.importcpp: "new DOMParser()".}
     ## DOM Parser constructor.
-  func parseFromString*(this: DOMParser; str: cstring; mimeType: cstring): Document {.importcpp.}
+  func parseFromString*(this: DomParser; str: cstring; mimeType: cstring): Document {.importcpp.}
     ## Parse from string to `Document`.
 
   proc newDomException*(): DomException {.importcpp: "new DomException()", constructor.}
@@ -1733,7 +1733,7 @@ since (1, 3):
 
   proc newFileReader*(): FileReader {.importcpp: "new FileReader()", constructor.}
     ## File Reader constructor
-  proc error*(f: FileReader): DOMException {.importcpp: "#.error", nodecl.}
+  proc error*(f: FileReader): DomException {.importcpp: "#.error", nodecl.}
     ## https://developer.mozilla.org/en-US/docs/Web/API/FileReader/error
   proc readyState*(f: FileReader): FileReaderState {.importcpp: "#.readyState", nodecl.}
     ## https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readyState
the previous revision' href='/ahoang/Nim/blame/rod/nimrod.nim?h=devel&id=90119066adf6a9a2e8d779d4955637c6dd99aba3'>^
fd62116f6 ^





c617479c6 ^
73919e308 ^
73919e308 ^
e25474154 ^
fc9fdc2b9 ^
e25474154 ^
01dfcf631 ^
fc9fdc2b9 ^
ae0ab9a10 ^
e4e74034c ^
c617479c6 ^
fc9fdc2b9 ^



c617479c6 ^
e4e74034c ^
fc9fdc2b9 ^
3b7ef2288 ^

e25474154 ^
01dfcf631 ^
c617479c6 ^
e25474154 ^
73919e308 ^
627e192f6 ^



fc9fdc2b9 ^
1785c6877 ^
fe285b354 ^

01dfcf631 ^
fe285b354 ^

ff4a69b62 ^
01dfcf631 ^
e25474154 ^
4aba7421f ^

65fdd641a ^
3d7abb958 ^
65fdd641a ^

e25474154 ^

04bd0c368 ^
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