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

Rename cli/js2 to cli/rt (#6857)

This commit is contained in:
Ryan Dahl 2020-07-23 10:27:26 -04:00 committed by GitHub
parent 090455936c
commit ca4dcb36dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
63 changed files with 6 additions and 6 deletions

View file

@ -93,7 +93,7 @@ fn main() {
let runtime_snapshot_path = o.join("CLI_SNAPSHOT.bin"); let runtime_snapshot_path = o.join("CLI_SNAPSHOT.bin");
let compiler_snapshot_path = o.join("COMPILER_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); create_runtime_snapshot(&runtime_snapshot_path, js_files);
let js_files = get_js_files("tsc"); let js_files = get_js_files("tsc");

View file

@ -1462,7 +1462,7 @@ mod tests {
assert!(r.is_err()); assert!(r.is_err());
let p = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")) let p = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"))
.join("js2/99_main.js"); .join("rt/99_main.js");
let specifier = let specifier =
ModuleSpecifier::resolve_url_or_path(p.to_str().unwrap()).unwrap(); ModuleSpecifier::resolve_url_or_path(p.to_str().unwrap()).unwrap();
let r = fetcher let r = fetcher
@ -1485,7 +1485,7 @@ mod tests {
assert!(r.is_err()); assert!(r.is_err());
let p = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")) let p = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"))
.join("js2/99_main.js"); .join("rt/99_main.js");
let specifier = let specifier =
ModuleSpecifier::resolve_url_or_path(p.to_str().unwrap()).unwrap(); ModuleSpecifier::resolve_url_or_path(p.to_str().unwrap()).unwrap();
let r = fetcher let r = fetcher

View file

@ -1,4 +1,4 @@
# js2 # Runtime JavaScript Code
This directory contains Deno runtime code written in plain JavaScript. This directory contains Deno runtime code written in plain JavaScript.

View file

@ -3,7 +3,7 @@
This directory contains the code for the typescript compiler snapshot This directory contains the code for the typescript compiler snapshot
There is currently A LOT of overlap between this code and the runtime 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. This is intentionally ugly because there should be no overlap.

View file

@ -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). [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 Additionally, a full list of the Web APIs which Deno implements is also
available 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 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) [`lib.deno.shared_globals.d.ts`](https://github.com/denoland/deno/blob/master/cli/dts/lib.deno.shared_globals.d.ts)