mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 12:07:51 +00:00
fix newDomParser (#13981)
This commit is contained in:
@@ -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.}
|
||||
|
||||
Reference in New Issue
Block a user