mirror of
https://github.com/denoland/deno.git
synced 2024-12-28 10:09:20 -05:00
88e6e9c1e6
A few easy migrations of module code from the runtime to the module map. The module map already has a few places where it needs a handle scope, so we're not coupling it any further with the v8 runtime. `init_runtime_module_map` is replaced with an option to reduce API surface of JsRuntime. `module_resolve_callback` now lives in the `ModuleMap` and we use a annex data to avoid having to go through the `Rc<RefCell<...>>` stored in the `JsRuntime`'s isolate. |
||
---|---|---|
.. | ||
loaders.rs | ||
map.rs | ||
mod.rs | ||
tests.rs |