mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
bf9930066d
This PR is intentionally ugly. It duplicates all of the code in cli/js2/ into cli/tsc/ ... because it's very important that we all understand that this code is unnecessarily duplicated in our binary. I hope this ugliness provides the motivation to clean it up. The typescript git submodule is removed, because it's a very large repo and contains all sorts of stuff we don't need. Instead the necessary files are copied directly into the deno repo. Hence +200k lines. COMPILER_SNAPSHOT.bin size ``` master 3448139 this branch 3320972 ``` Fixes #6812
11 lines
269 B
JavaScript
11 lines
269 B
JavaScript
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
|
|
|
|
((window) => {
|
|
const dispatchJson = window.__bootstrap.dispatchJson;
|
|
|
|
function opNow() {
|
|
return dispatchJson.sendSync("op_now");
|
|
}
|
|
|
|
window.__bootstrap.timers = { opNow };
|
|
})(this);
|