fix newDomParser (#13981)
This commit is contained in:
parent
d72808520b
commit
6914de0d8d
1 changed files with 1 additions and 1 deletions
|
|
@ -1309,7 +1309,7 @@ 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.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue