diff options
Diffstat (limited to 'src/types/url.nim')
-rw-r--r-- | src/types/url.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types/url.nim b/src/types/url.nim index c82555de..075e3b08 100644 --- a/src/types/url.nim +++ b/src/types/url.nim @@ -1226,7 +1226,7 @@ proc setHash*(url: URL; s: string) {.jsfset: "hash".} = url.fragment = some("") discard basicParseURL(s, url = url, stateOverride = some(usFragment)) -proc jsParse(url: string; base = none(string)): URL {.jsstfunc: "URL:parse".} = +proc jsParse(url: string; base = none(string)): URL {.jsstfunc: "URL.parse".} = return parseAPIURL(url, base).get(nil) proc canParse(url: string; base = none(string)): bool {.jsstfunc: "URL".} = |