mirror of
https://github.com/denoland/deno
synced 2024-11-05 18:45:24 +00:00
1fb5858009
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
14 lines
333 B
Rust
14 lines
333 B
Rust
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
|
|
|
|
use deno_core::include_js_files;
|
|
use deno_core::Extension;
|
|
|
|
/// Load and execute the javascript code.
|
|
pub fn init() -> Extension {
|
|
Extension::builder()
|
|
.js(include_js_files!(
|
|
prefix "deno:ext/webidl",
|
|
"00_webidl.js",
|
|
))
|
|
.build()
|
|
}
|