diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-09-17 19:13:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-17 19:13:20 +0200 |
commit | 6453cb75670b6aefbfc712c7d05b1135bee6226c (patch) | |
tree | ab088478c374f7228f6891919dafcf01b66be037 /cli/web_worker.rs | |
parent | a6f4559174c64066d45210b02f6a06aa2f67c2cd (diff) |
refactor: Move URL to op_crates/web (#7544)
Diffstat (limited to 'cli/web_worker.rs')
-rw-r--r-- | cli/web_worker.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cli/web_worker.rs b/cli/web_worker.rs index bad017914..a4d0fe24c 100644 --- a/cli/web_worker.rs +++ b/cli/web_worker.rs @@ -115,7 +115,11 @@ impl WebWorker { let handle = web_worker.thread_safe_handle(); ops::web_worker::init(&mut web_worker.worker, sender, handle); ops::worker_host::init(&mut web_worker.worker); - ops::idna::init(&mut web_worker.worker); + ops::reg_json_sync( + &mut web_worker.worker, + "op_domain_to_ascii", + deno_web::op_domain_to_ascii, + ); ops::io::init(&mut web_worker.worker); ops::reg_json_sync( &mut web_worker.worker, |