diff options
author | bptato <nincsnevem662@gmail.com> | 2024-05-08 19:20:18 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-05-08 19:20:27 +0200 |
commit | c90c11ea3840c9d25edb16aa5e6a2c366406cb89 (patch) | |
tree | 085de879e8c7938892e4e5300426b3a2b3a575b7 /src/html | |
parent | caf1acc77ac74cf1e47c1a450922b9db2da1bdd8 (diff) | |
download | chawan-c90c11ea3840c9d25edb16aa5e6a2c366406cb89.tar.gz |
js: fix compileModule
Diffstat (limited to 'src/html')
-rw-r--r-- | src/html/dom.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim index dc12bb6e..3ee12f8d 100644 --- a/src/html/dom.nim +++ b/src/html/dom.nim @@ -3565,7 +3565,7 @@ proc markAsReady(element: HTMLScriptElement; res: ScriptResult) = proc createClassicScript(ctx: JSContext; source: string; baseURL: URL; options: ScriptOptions; mutedErrors = false): Script = let urls = baseURL.serialize(excludepassword = true) - let record = compileScript(ctx, source, cstring(urls)) + let record = compileScript(ctx, source, urls) return Script( record: record, baseURL: baseURL, |