1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/cli/ops/compiler.rs

14 lines
404 B
Rust
Raw Normal View History

2020-01-02 15:13:47 -05:00
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
use crate::state::State;
use deno_core::CoreIsolate;
2019-08-26 08:50:21 -04:00
pub fn init(i: &mut CoreIsolate, _s: &State) {
let custom_assets = std::collections::HashMap::new();
// TODO(ry) use None.
// TODO(bartlomieju): is this op even required?
i.register_op(
2020-02-25 09:14:27 -05:00
"op_fetch_asset",
deno_typescript::op_fetch_asset(custom_assets),
);
}