mirror of
https://github.com/denoland/deno.git
synced 2024-12-21 23:04:45 -05:00
Rename cli/js2 to cli/rt (#6857)
This commit is contained in:
parent
090455936c
commit
ca4dcb36dd
63 changed files with 6 additions and 6 deletions
|
@ -93,7 +93,7 @@ fn main() {
|
|||
let runtime_snapshot_path = o.join("CLI_SNAPSHOT.bin");
|
||||
let compiler_snapshot_path = o.join("COMPILER_SNAPSHOT.bin");
|
||||
|
||||
let js_files = get_js_files("js2");
|
||||
let js_files = get_js_files("rt");
|
||||
create_runtime_snapshot(&runtime_snapshot_path, js_files);
|
||||
|
||||
let js_files = get_js_files("tsc");
|
||||
|
|
|
@ -1462,7 +1462,7 @@ mod tests {
|
|||
assert!(r.is_err());
|
||||
|
||||
let p = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"))
|
||||
.join("js2/99_main.js");
|
||||
.join("rt/99_main.js");
|
||||
let specifier =
|
||||
ModuleSpecifier::resolve_url_or_path(p.to_str().unwrap()).unwrap();
|
||||
let r = fetcher
|
||||
|
@ -1485,7 +1485,7 @@ mod tests {
|
|||
assert!(r.is_err());
|
||||
|
||||
let p = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"))
|
||||
.join("js2/99_main.js");
|
||||
.join("rt/99_main.js");
|
||||
let specifier =
|
||||
ModuleSpecifier::resolve_url_or_path(p.to_str().unwrap()).unwrap();
|
||||
let r = fetcher
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# js2
|
||||
# Runtime JavaScript Code
|
||||
|
||||
This directory contains Deno runtime code written in plain JavaScript.
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
This directory contains the code for the typescript compiler snapshot
|
||||
|
||||
There is currently A LOT of overlap between this code and the runtime snapshot
|
||||
code in cli/js2.
|
||||
code in cli/rt.
|
||||
|
||||
This is intentionally ugly because there should be no overlap.
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ The detailed documentation for implemented Web APIs can be found on
|
|||
[doc.deno.land](https://doc.deno.land/https/raw.githubusercontent.com/denoland/deno/master/cli/dts/lib.deno.shared_globals.d.ts).
|
||||
Additionally, a full list of the Web APIs which Deno implements is also
|
||||
available
|
||||
[in the repository](https://github.com/denoland/deno/blob/master/cli/js2/README.md).
|
||||
[in the repository](https://github.com/denoland/deno/blob/master/cli/rt/README.md).
|
||||
|
||||
The TypeScript definitions for the implemented web APIs can be found in the
|
||||
[`lib.deno.shared_globals.d.ts`](https://github.com/denoland/deno/blob/master/cli/dts/lib.deno.shared_globals.d.ts)
|
||||
|
|
Loading…
Reference in a new issue