summaryrefslogtreecommitdiff
path: root/op_crates/web/lib.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2021-01-07 18:06:08 +0000
committerGitHub <noreply@github.com>2021-01-07 19:06:08 +0100
commite61e81eb57351782862aa50775ce4348f10b1856 (patch)
tree6099aa60857f586774a195034f18ac1fb10ca519 /op_crates/web/lib.rs
parentc347dfcd565c3a396ae84dff46e7374851913462 (diff)
feat: add --location=<href> and globalThis.location (#7369)
Diffstat (limited to 'op_crates/web/lib.rs')
-rw-r--r--op_crates/web/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/op_crates/web/lib.rs b/op_crates/web/lib.rs
index 958d11177..33bb0a33f 100644
--- a/op_crates/web/lib.rs
+++ b/op_crates/web/lib.rs
@@ -62,6 +62,10 @@ pub fn init(isolate: &mut JsRuntime) {
),
("deno:op_crates/web/11_url.js", include_str!("11_url.js")),
(
+ "deno:op_crates/web/12_location.js",
+ include_str!("12_location.js"),
+ ),
+ (
"deno:op_crates/web/21_filereader.js",
include_str!("21_filereader.js"),
),