From 6914de0d8dfb14e4ebe0448c558466c9bb80d833 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Wed, 15 Apr 2020 23:59:54 -0700 Subject: [PATCH] fix newDomParser (#13981) --- lib/js/dom.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/js/dom.nim b/lib/js/dom.nim index 280e47d824..a0df4b7b92 100644 --- a/lib/js/dom.nim +++ b/lib/js/dom.nim @@ -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.}