core/sys/wasm/js: add open binding to window.open

This commit is contained in:
Laytan Laats
2025-03-12 18:43:03 +01:00
parent d3b1aaad18
commit 6691acfa03
2 changed files with 9 additions and 1 deletions
+2 -1
View File
@@ -9,4 +9,5 @@ foreign odin_env {
abort :: proc() -> ! ---
alert :: proc(msg: string) ---
evaluate :: proc(str: string) ---
}
open :: proc(url: string, name := "", specs := "") ---
}