styleCheck: Fix some inconsistent identifiers (#16177)
This commit is contained in:
parent
29c9a1c14b
commit
297c8e403d
20 changed files with 64 additions and 64 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue