mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
refactor: move Console to op_crates/console (#9770)
This commit is contained in:
parent
e83ff62ccb
commit
0770449c93
20 changed files with 129 additions and 71 deletions
|
@ -3,7 +3,6 @@
|
|||
|
||||
((window) => {
|
||||
const { build } = window.__bootstrap.build;
|
||||
const internals = window.__bootstrap.internals;
|
||||
let logDebug = false;
|
||||
let logSource = "JS";
|
||||
|
||||
|
@ -100,7 +99,10 @@
|
|||
return pathOrUrl;
|
||||
}
|
||||
|
||||
internals.exposeForTest("pathFromURL", pathFromURL);
|
||||
window.__bootstrap.internals = {
|
||||
...window.__bootstrap.internals ?? {},
|
||||
pathFromURL,
|
||||
};
|
||||
|
||||
function writable(value) {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue