blob: 1ecf0f6bb1b26aa14e6ffcdc4c41f0d9290387cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
"use strict";
((window) => {
const core = window.Deno.core;
function opFormatDiagnostics(diagnostics) {
return core.opSync("op_format_diagnostic", diagnostics);
}
function opFormatFileName(location) {
return core.opSync("op_format_file_name", location);
}
function opApplySourceMap(location) {
return core.applySourceMap(location);
}
window.__bootstrap.errorStack = {
opFormatDiagnostics,
opFormatFileName,
opApplySourceMap,
};
})(this);
|