fix newDomParser (#13981)

This commit is contained in:
Timothee Cour 2020-04-15 23:59:54 -07:00 • committed by GitHub
commit 6914de0d8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.}